log: Added --all option.

This commit is contained in:
Joey Hess 2016-07-17 15:15:08 -04:00
parent 154c939830
commit c4d011bf3e
Failed to extract signature
6 changed files with 171 additions and 63 deletions

View file

@ -3,3 +3,5 @@ It would be great to have something to call in post-update-annex which would giv
This could be `git annex log --all --max-count=1` or somesuch.
This capability could alternatively be provided with a new post-transfer hook, called for every file.
> [[done]] --[[Joey]]

View file

@ -0,0 +1,16 @@
[[!comment format=mdwn
username="joey"
subject="""comment 2"""
date="2016-07-17T19:09:41Z"
content="""
Implelemented `git annex log --all`. It turned out to fit really well
to add the functionality there.
You can use --max-count, or even --since to limit the log
that's displayed.
The output streams, so you could just remember the first line you saw when
running it before, and close the pipe when the subsequent run outputs that
line. (Although this method may skip over changes that got merged in from
another repository.)
"""]]