Just ran into this problem today. In our project, we have several files that our mirrored, so we use git to manage the symlinks. Today we discovered that you can open a symlinked file, but when you try to go and save it, the symlink is erased and replaced with a brand new file, rather than updating the contents of the file that the symlink points to.
Is this a known issue? Is there any suggested workaround for it? (other than, make sure you don't edit a symlinked file?)
Thanks, Tim
On Wed, Mar 26, 2008 at 1:41 AM, Tim Harper timcharper@gmail.com wrote:
Just ran into this problem today. In our project, we have several files that our mirrored, so we use git to manage the symlinks. Today we discovered that you can open a symlinked file, but when you try to go and save it, the symlink is erased and replaced with a brand new file, rather than updating the contents of the file that the symlink points to.
Is this a known issue? Is there any suggested workaround for it? (other than, make sure you don't edit a symlinked file?)
Only an issue if atomic saves are enabled. So, disable atomic saves. You shouldn't it if you've got the files managed by git anyway, right?
j.
Jay,
You are awesome, thanks for the answer. Works like a charm.
Tim
On Mar 26, 2008, at 12:03 AM, Jay Soffian wrote:
On Wed, Mar 26, 2008 at 1:41 AM, Tim Harper timcharper@gmail.com wrote:
Just ran into this problem today. In our project, we have several files that our mirrored, so we use git to manage the symlinks. Today we discovered that you can open a symlinked file, but when you try to go and save it, the symlink is erased and replaced with a brand new file, rather than updating the contents of the file that the symlink points to.
Is this a known issue? Is there any suggested workaround for it? (other than, make sure you don't edit a symlinked file?)
Only an issue if atomic saves are enabled. So, disable atomic saves. You shouldn't it if you've got the files managed by git anyway, right?
j.
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate