diff options
author | Joey Hess <joey@kitenet.net> | 2012-01-06 15:40:04 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-01-06 15:40:07 -0400 |
commit | a3a9f87047d27306c27f4108ee58af3365f284af (patch) | |
tree | 26fbd58b758a0a3773f7df05d30a8c101d866e1b /doc | |
parent | 1f8a1058c96bd4ee11fcb353f0ede1842d79ab6a (diff) |
log: New command that displays the location log for file, showing each repository they were added to and removed from.
This needs to run git log on the location log files to get at all past
versions of the file, which tends to be a bit slow.
It would be possible to make a version optimised for showing the location
logs for every key. That would only need to run git log once, so would be
faster, but it would need to process an enormous amount of data, so
would not speed up the individual file case.
In the future it would be nice to support log --format. log --json also
doesn't work right yet.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/git-annex.mdwn | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/git-annex.mdwn b/doc/git-annex.mdwn index 9751560a9..87775ead9 100644 --- a/doc/git-annex.mdwn +++ b/doc/git-annex.mdwn @@ -273,6 +273,11 @@ subdirectories). Displays a list of repositories known to contain the content of the specified file or files. +* log [path ...] + + Displays the location log for the specified file or files, + showing each repository they were added to ("+") and removed from ("-"). + * status Displays some statistics and other information, including how much data |