git-annex/Logs
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
..
PreferredContent added GETWANTED, SETWANTED for Tobias's flickr remote 2014-01-01 20:12:20 -04:00
Presence forget --drop-dead: Completely removes mentions of repositories that have been marked as dead from the git-annex branch. 2013-08-31 17:51:13 -04:00
Trust forget --drop-dead: Completely removes mentions of repositories that have been marked as dead from the git-annex branch. 2013-08-31 17:51:13 -04:00
FsckResults.hs remove Read instance for Ref 2014-02-19 01:19:57 -04:00
Group.hs refactor git-annex branch log filename code into central location 2013-08-29 19:13:00 -04:00
Location.hs --in can now refer to files that were located in a repository at some past date. For example, --in="here@{yesterday}" 2014-02-06 12:43:56 -04:00
MetaData.hs pre-commit: Update metadata when committing changes to annexed files within a view. 2014-02-19 14:17:58 -04:00
NumCopies.hs reorg 2014-01-21 18:08:56 -04:00
PreferredContent.hs fix transfers of key with no associated file 2014-01-23 16:44:02 -04:00
Presence.hs --in can now refer to files that were located in a repository at some past date. For example, --in="here@{yesterday}" 2014-02-06 12:43:56 -04:00
Remote.hs refactor git-annex branch log filename code into central location 2013-08-29 19:13:00 -04:00
RemoteState.hs copyright year 2014-01-08 16:29:15 -04:00
Schedule.hs write via temp file 2013-10-14 16:15:38 -04:00
SingleValue.hs reorganize numcopies code (no behavior changes) 2014-01-21 16:08:59 -04:00
Transfer.hs fix windows build (and make --stop work on windows, incidentially) 2014-02-11 15:25:59 -04:00
Transitions.hs remove *>=> and >=*> ; use <$$> instead 2013-09-27 19:58:48 -04:00
Trust.hs forget --drop-dead: Completely removes mentions of repositories that have been marked as dead from the git-annex branch. 2013-08-31 17:51:13 -04:00
Unused.hs fix parsing of unused log; keys can contain spaces 2014-02-08 15:27:11 -04:00
UUID.hs fix crash on empty description 2013-11-09 13:50:44 -04:00
UUIDBased.hs add remote state logs 2014-01-03 16:35:57 -04:00
View.hs speed up currentView when not in a view 2014-02-19 12:52:47 -04:00
Web.hs sync, pre-commit, indirect: Avoid unnecessarily catting non-symlink files from git, which can be so large it runs out of memory. 2013-09-19 14:48:42 -04:00