summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar https://www.google.com/accounts/o8/id?id=AItOawnW_CrhP9p50n9UUhTg_a9glyKWSvnrjRQ <Michele@web>2015-02-02 12:30:46 +0000
committerGravatar admin <admin@branchable.com>2015-02-02 12:30:46 +0000
commit5fad2597111998973c5c88ade2d157452fb60cb6 (patch)
treeb201b21d28f6eb244634a2b8340c3789f151bcb0
parent2cd4a60d489ee1b20b983eef9a34b045e9b24056 (diff)
-rw-r--r--doc/bugs/git_annex_drop_direct_creates_symlinks_with_possibly_incorrect_path_separator.mdwn34
1 files changed, 34 insertions, 0 deletions
diff --git a/doc/bugs/git_annex_drop_direct_creates_symlinks_with_possibly_incorrect_path_separator.mdwn b/doc/bugs/git_annex_drop_direct_creates_symlinks_with_possibly_incorrect_path_separator.mdwn
new file mode 100644
index 000000000..e79e0fa9e
--- /dev/null
+++ b/doc/bugs/git_annex_drop_direct_creates_symlinks_with_possibly_incorrect_path_separator.mdwn
@@ -0,0 +1,34 @@
+### Please describe the problem.
+
+On windows, path separator of symlinks created by drop command is different than the one created by checkout/update, leading to incorrect git annex status reporting
+
+### What steps will reproduce the problem?
+
+Checkout a repo in direct mode on windows, you'll see symlinks as such (using the 'unix' path separator):
+
+ ../../../.git/annex/objects/p1/GM/SHA256E-s921877--4801f74cb608bdcea1f7f7a50a874865c87d03bc6fff3d16e2b9d216b4c231 ..... etc.
+
+get the content, and then drop it, the symlink which is then recreated has different path separator:
+
+ ..\..\..\.git\annex\objects\p1\GM\SHA256E-s921877--4801f74cb608bdcea1f7f7a50a874865c87d03bc6fff3d16e2b9d216b4c231 ----- etc.
+
+resulting in misreported git annex status:
+
+ git annex statua
+ M dropped.file.name
+
+changing the path separator seemingly solves:
+
+ sed -e 's/\\\/\\//g' dropped.file.name -i
+ git annex dropped.file.name
+ .... nothing reported ....
+
+### What version of git-annex are you using? On what operating system?
+
+ git-annex version: 5.20150128-g2df3a02
+ running on Microsoft Windows [Version 6.1.7601]
+
+
+### Please provide any additional information below.
+
+no additional info.