author | Junio C Hamano <gitster@pobox.com> | |
Fri, 20 Nov 2009 10:50:21 +0000 (02:50 -0800) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Fri, 20 Nov 2009 23:10:47 +0000 (15:10 -0800) | ||
commit | 60da8b15c1b77706e0701cccef2d534a1c3825ad | |
tree | c4fe4d8250d77745856e7f421d68bc96ac322f47 | tree | snapshot |
parent | 5486ef0e6d159a8971742fd2464b9656f5457fda | commit | diff |
Make --stdin option to "log" family read also pathspecs
Similar to the command line arguments, after giving zero or more revs, you can
feed a line "--" and then feed pathspecs one at a time.
With this
(
echo ^maint
echo --
echo Documentation
) | git log --stat --oneline --stdin master -- t
lists commits that touch Documentation/ or t/ between maint and master.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Similar to the command line arguments, after giving zero or more revs, you can
feed a line "--" and then feed pathspecs one at a time.
With this
(
echo ^maint
echo --
echo Documentation
) | git log --stat --oneline --stdin master -- t
lists commits that touch Documentation/ or t/ between maint and master.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/rev-list-options.txt | diff | blob | history | |
revision.c | diff | blob | history |