diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-06-09 16:04:21 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-06-09 16:04:21 -0400 |
commit | 64360c0a47d84524b9ab2250653812da7c331174 (patch) | |
tree | 4c509a24e2244aa7191c3e12e0007c86dd8d6960 | |
parent | 12d54bff723702a8d2d0070c65cd839b208c40e9 (diff) |
followup
-rw-r--r-- | doc/forum/What_am_I_doing_wrong_with_move__63__/comment_4_76aa27cdeefb1413baaa1c891ccd4d0d._comment | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/doc/forum/What_am_I_doing_wrong_with_move__63__/comment_4_76aa27cdeefb1413baaa1c891ccd4d0d._comment b/doc/forum/What_am_I_doing_wrong_with_move__63__/comment_4_76aa27cdeefb1413baaa1c891ccd4d0d._comment new file mode 100644 index 000000000..a80135791 --- /dev/null +++ b/doc/forum/What_am_I_doing_wrong_with_move__63__/comment_4_76aa27cdeefb1413baaa1c891ccd4d0d._comment @@ -0,0 +1,27 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 4""" + date="2016-06-09T19:51:10Z" + content=""" +The symbolic-link-like file is in fact, a symlink, which is what git-annex +uses to represent an annexed file in git. If your filesystem does +not support symlinks, git writes the link location to a regular file +instead. + +git annex drop removes the content of a file from the local repository, but +its symlink remains checked into git. So, the content of the file is +replaced by the symlink in your working tree. + +That symlink should be the same thing git already had recorded for the +file. + +Based on your earlier comment, it does seem that the symlink standin file +that git uses is being treated as new content for the file, and getting +annexed. That would be a bug. + +Is that happening when you run `git annex sync` on Linux, or is it on Windows? + +What else can you tell or show me to help me reproduce your problem? +I've tried setting up an NTFS filesystem, putting a git-annex repository on it, and dropping a file; +git-annex sync did not do the wrong thing when I tried it. +"""]] |