summaryrefslogtreecommitdiff
path: root/doc/todo/wishlist__58___allow_re-adding_without_generating_log_entry.mdwn
diff options
context:
space:
mode:
Diffstat (limited to 'doc/todo/wishlist__58___allow_re-adding_without_generating_log_entry.mdwn')
-rw-r--r--doc/todo/wishlist__58___allow_re-adding_without_generating_log_entry.mdwn11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/todo/wishlist__58___allow_re-adding_without_generating_log_entry.mdwn b/doc/todo/wishlist__58___allow_re-adding_without_generating_log_entry.mdwn
new file mode 100644
index 000000000..258b82f6a
--- /dev/null
+++ b/doc/todo/wishlist__58___allow_re-adding_without_generating_log_entry.mdwn
@@ -0,0 +1,11 @@
+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`?
+
+> [[done]] --[[Joey]]