This commit is contained in:
tribut 2015-10-11 17:33:20 +00:00 committed by admin
parent 80ea196c6d
commit 53d3b5a197

View file

@ -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`?