Skip to content

"log --stdin" updates

Junio C Hamano git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3read_revision_from_stdin(): use strbufrevision.c+10 -80 replies
2/3setup_revisions(): do not call get_pathspec() too earlyrevision.c+6 -30 replies
3/3Make --stdin option to "log" family read also pathspecsrevision.c+68 -40 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] "log --stdin" updates

These three come on top of 61ab67a (Teach --stdin option to "log" family, 2009-11-03), which gave "--stdin" to the log family of commands (e.g. log, rev-list). The earlier patch allowed you to feed only the revs (which was what gitk originally wanted), but after zero or more revs (one rev per line), you can now feed a line that consists of "--" and then pathspecs (one path per line).

The whole series probably need to be updated to learn -z option to read NUL terminated input.

Junio C Hamano (3):
read_revision_from_stdin(): use strbuf setup_revisions(): do not call get_pathspec() too early Make --stdin option to "log" family read also pathspecs

 revision.c |   95 +++++++++++++++++++++++++++++++++++++++++++++++++++--------
 1 files changed, 82 insertions(+), 13 deletions(-)