Added a comment
authorcardoso-neto <cardoso-neto@web>
Thu, 20 Aug 2020 20:08:07 +0000 (20:08 +0000)
committeradmin <admin@branchable.com>
Thu, 20 Aug 2020 20:08:07 +0000 (20:08 +0000)
doc/forum/What_is_the_best_way_to___34__git_annex_mv__34___file__63__/comment_3_06b137018b4c995afc8891032704c1d8._comment [new file with mode: 0644]

diff --git a/doc/forum/What_is_the_best_way_to___34__git_annex_mv__34___file__63__/comment_3_06b137018b4c995afc8891032704c1d8._comment b/doc/forum/What_is_the_best_way_to___34__git_annex_mv__34___file__63__/comment_3_06b137018b4c995afc8891032704c1d8._comment
new file mode 100644 (file)
index 0000000..e0bc699
--- /dev/null
@@ -0,0 +1,36 @@
+[[!comment format=mdwn
+ username="cardoso-neto"
+ avatar="http://cdn.libravatar.org/avatar/d90a656df072f3a29da54302c190c696"
+ subject="comment 3"
+ date="2020-08-20T20:08:05Z"
+ content="""
+Correction:
+
+Why do moves that require changes to the symlinks to change result in a delete+add combo?
+
+Code to reproduce just for the sake of completion:
+
+```bash
+mkdir protein
+echo whey > protein/milk
+
+git init
+git annex init
+git annex add
+git commit -m \"asd\"
+
+# perfectly normal rename
+git mv protein amino-acids
+git commit -m changed
+# rename {protein => amino-acids}/milk (100%)
+
+# behavior I don't get
+git mv amino-acids/milk atoms
+git commit -m hmmm
+# delete mode 120000 amino-acids/milk
+# create mode 120000 atoms
+```
+
+I'm sorry if this has been already explained previously.
+I couldn't find it.
+"""]]