summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar tribut <tribut@web>2015-10-11 17:33:20 +0000
committerGravatar admin <admin@branchable.com>2015-10-11 17:33:20 +0000
commit2fcdd3137ec10e2d79ae903e035620ffc9c2495d (patch)
tree3a744d337b5c5bd06131d3a35555c5514762f052
parent97da36b8b37a533825f99716c9c03409e2645152 (diff)
-rw-r--r--doc/todo/wishlist:_allow_re-adding_without_generating_log_entry.mdwn9
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/todo/wishlist:_allow_re-adding_without_generating_log_entry.mdwn b/doc/todo/wishlist:_allow_re-adding_without_generating_log_entry.mdwn
new file mode 100644
index 000000000..d9ea181a8
--- /dev/null
+++ b/doc/todo/wishlist:_allow_re-adding_without_generating_log_entry.mdwn
@@ -0,0 +1,9 @@
+I keep a database file in git-annex so it stays synced across several machines. My wrapper when accessing it is basically
+
+ git annex sync --content
+ git annex unlock $database
+ [access database]
+ git annex add $database
+ git annex sync --content
+
+This works fine except it creates an entry in the log for the database file even if that stays unchanged. I would like an option that just returns to the state before `git annex unlock` if the file has not been changed. Maybe `git annex add --restore-unchanged`?