summaryrefslogtreecommitdiff
path: root/doc/bugs/Direct_mode_keeps_re-checksuming_duplicated_files.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'doc/bugs/Direct_mode_keeps_re-checksuming_duplicated_files.mdwn')
-rw-r--r--doc/bugs/Direct_mode_keeps_re-checksuming_duplicated_files.mdwn22
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/bugs/Direct_mode_keeps_re-checksuming_duplicated_files.mdwn b/doc/bugs/Direct_mode_keeps_re-checksuming_duplicated_files.mdwn
new file mode 100644
index 000000000..845b48a99
--- /dev/null
+++ b/doc/bugs/Direct_mode_keeps_re-checksuming_duplicated_files.mdwn
@@ -0,0 +1,22 @@
+##What steps will reproduce the problem?
+
+ mkdir test
+ git init
+ git annex init "test"
+ echo "test" > a
+ echo "test" > b
+ git annex add a b
+ git annex sync
+ git annex direct
+ git annex sync | grep add
+ git annex sync | grep add
+
+##What is the expected output? What do you see instead?
+
+The last two syncs shouldn't need to add or checksum anything.
+Firstly, the output is very confusing because the files have already been added.
+Secondly, the sync can take quite a while if you have lots of duplicates or a lot of files that are incidentally similar.
+
+##What version of git-annex are you using? On what operating system?
+
+git-annex version: 4.20130227 on Archlinux