do a cleanup commit after moving data from or to a git remote
Added Annex.cleanup, which is a general purpose interface for adding actions to run at the end. Remotes with the old git-annex-shell will commit every time, and have no commit command, so hide stderr when running the commit command.
This commit is contained in:
parent
a3c9d06a26
commit
c3fbe07d7a
5 changed files with 43 additions and 13 deletions
8
debian/changelog
vendored
8
debian/changelog
vendored
|
@ -29,12 +29,8 @@ git-annex (3.20120124) UNRELEASED; urgency=low
|
|||
* Store web special remote url info in a more efficient location.
|
||||
* Deal with NFS problem that caused a failure to remove a directory
|
||||
when removing content from the annex.
|
||||
* Avoid repeated location log commits when a remote is receiving files.
|
||||
Done by adding a oneshot mode, in which location log changes are
|
||||
written to the journal, but not committed. Taking advantage of
|
||||
git-annex's existing ability to recover in this situation. This is
|
||||
used by git-annex-shell and other places where changes are made to
|
||||
a remote's location log.
|
||||
* Make a single location log commit after a remote has received or
|
||||
dropped files. Uses a new "git-annex-shell commit" command.
|
||||
* To avoid commits of data to the git-annex branch after each command
|
||||
is run, set annex.alwayscommit=false. Its data will then be committed
|
||||
less frequently, when a merge or sync is done.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue