summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/bugs/non-annexed_file_changed_to_annexed_on_typechange.mdwn9
1 files changed, 6 insertions, 3 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
index 16b2f5cac..55cd6d3bd 100644
--- a/doc/bugs/non-annexed_file_changed_to_annexed_on_typechange.mdwn
+++ b/doc/bugs/non-annexed_file_changed_to_annexed_on_typechange.mdwn
@@ -8,12 +8,15 @@ Changing a file in a repository from a symlink to a normal file causes annex to
git init newrepo
cd newrepo && git annex init
touch realfile
- git commit -am "added realfile"
+ git add .
+ git commit -m "added realfile"
mkdir newdir && cd newdir
ln -s ../realfile newfile
- git commit -am "Added placeholder until we get assets from designers"
+ git add .
+ git commit -m "Added placeholder until we get assets from designers"
dd bs=1024 count=10000 if=/dev/zero of=newfile
- git commit -am "Finally got assets from designers"
+ 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