From fd3ceb60e25adcf089584460b3659ff8e412d760 Mon Sep 17 00:00:00 2001 From: "https://www.google.com/accounts/o8/id?id=AItOawmu416zAYgYzbXVZAe30MiXoOWO4z6nGX8" Date: Mon, 11 Mar 2013 06:08:23 +0000 Subject: [PATCH] --- ...keeps_re-checksuming_duplicated_files.mdwn | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 doc/bugs/Direct_mode_keeps_re-checksuming_duplicated_files.mdwn 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 0000000000..845b48a995 --- /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