git-annex/debian
Joey Hess 39ebfa1a2e pre-commit: Update metadata when committing changes to annexed files within a view.
So the user can now switch to a view and then move files around within it
to manage metadata. For example, moving a file into a new directory
when in the tags=* view adds a tag to it.

Implementation is fairly efficient. One diff-index, which is no more
expensive than the first stage of a git commit, followed by possibly
some cat-file --batch traffic to find the key (when deleting a file).
Very similar to what's done in direct mode when committing. And like
direct mode when updating the WC after a merge, it has to buffer the
diff-tree values in order to make 2 passes over them.

When not in a view, pre-commit now does one extra git symbolic-ref,
which is tiny overhead.

This commit was sponsored by Andrew Eskridge.
2014-02-19 14:17:58 -04:00
..
tests Debian: Run the builtin test suite as an autopkgtest. 2013-08-15 15:49:19 +02:00
changelog pre-commit: Update metadata when committing changes to annexed files within a view. 2014-02-19 14:17:58 -04:00
compat debhelper v9 2012-01-15 14:53:38 -04:00
control version DAV dep 2014-02-08 15:04:48 -04:00
copyright copyright year 2014-01-08 16:29:15 -04:00
doc-base Add doc-base file. Closes: #621408 2011-04-06 21:57:22 -04:00
menu fixups 2013-05-15 22:48:27 -04:00
NEWS prep release 2013-10-02 16:13:45 -04:00
rules re-enable test suite 2013-12-30 14:39:29 -04:00