summaryrefslogtreecommitdiff
path: root/doc/bugs/non-annexed_file_changed_to_annexed_on_typechange.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'doc/bugs/non-annexed_file_changed_to_annexed_on_typechange.mdwn')
-rw-r--r--doc/bugs/non-annexed_file_changed_to_annexed_on_typechange.mdwn40
1 files changed, 40 insertions, 0 deletions
diff --git a/doc/bugs/non-annexed_file_changed_to_annexed_on_typechange.mdwn b/doc/bugs/non-annexed_file_changed_to_annexed_on_typechange.mdwn
new file mode 100644
index 000000000..1dca84346
--- /dev/null
+++ b/doc/bugs/non-annexed_file_changed_to_annexed_on_typechange.mdwn
@@ -0,0 +1,40 @@
+### Please describe the problem.
+
+Changing a file in a repository from a symlink to a normal file causes annex to create an annexed file from that typechange regardless of weather or not it was an annexed file.
+
+
+### What steps will reproduce the problem?
+
+ git init newrepo
+ cd newrepo && git annex init
+ touch realfile
+ git add .
+ git commit -m "added realfile"
+ mkdir newdir && cd newdir
+ ln -s ../realfile newfile
+ git add .
+ git commit -m "Added placeholder until we get assets from designers"
+ rm newfile
+ dd bs=1024 count=10000 if=/dev/zero of=newfile
+ git add .
+ git commit -m "Finally got assets from designers"
+ ls -la newfile
+ # lrwxrwxrwx 1 user user <date> newfile -> ../.git/annex/objects/XX/XX/UUID/UUID
+
+### What version of git-annex are you using? On what operating system?
+
+git-annex version: 4.20130802
+
+Ubuntu 12.04 LTS
+
+### Please provide any additional information below.
+
+[[!format sh """
+# If you can, paste a complete transcript of the problem occurring here.
+# If the problem is with the git-annex assistant, paste in .git/annex/daemon.log
+
+
+# End of transcript or log.
+"""]]
+
+> [[fixed|done]] --[[Joey]]