diff options
| author | Junio C Hamano <gitster@pobox.com> | 2009-11-20 02:50:21 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2009-11-20 15:10:47 -0800 |
| commit | 60da8b15c1b77706e0701cccef2d534a1c3825ad (patch) | |
| tree | c4fe4d8250d77745856e7f421d68bc96ac322f47 /builtin-diff-tree.c | |
| parent | setup_revisions(): do not call get_pathspec() too early (diff) | |
| download | git-60da8b15c1b77706e0701cccef2d534a1c3825ad.tar.gz git-60da8b15c1b77706e0701cccef2d534a1c3825ad.zip | |
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>
Diffstat (limited to 'builtin-diff-tree.c')
0 files changed, 0 insertions, 0 deletions
