Skip to content

jn/shortlog

Jonathan Nieder git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest5 patches 1 replyIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5Documentation/shortlog: scripted users should not rely on implicit HEADDocumentation/git-shortlog.txt+6 -10 replies
2/5t4201 (shortlog): guard setup with test_expect_successt/t4201-shortlog.sh+39 -290 replies
3/5t4201 (shortlog): Test output format with multiple authorst/t4201-shortlog.sh+7 -00 replies
4/5shortlog: Document and test --format optionDocumentation/git-shortlog.txt t/t4201-shortlog.sh+60 -10 replies
5/5pretty: Respect --abbrev optionbuiltin/shortlog.c pretty.c shortlog.h +2 more+39 -51 reply

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH v2 0/5] jn/shortlog
Quoted 7 lines · Jonathan Nieder

apparently shortlog does not default to HEAD when stdin is not a tty.

Possible fixes:

- document the current unfriendly behavior
- default to HEAD when input is empty

Here’s the uncontroversial half.

Patch 1 is new: it explains why scripts that mean HEAD need to explicitly say so. The remaining patches are just like before, except tests pass a HEAD arg now. Sorry about the breakage, and thanks for catching it.

Jonathan Nieder (4):
Documentation/shortlog: scripted users should not rely on implicit
HEAD
t4201 (shortlog): guard setup with test_expect_success t4201 (shortlog): Test output format with multiple authors
shortlog: Document and test --format option

Will Palmer (1):
pretty: Respect --abbrev option

 Documentation/git-shortlog.txt |   15 +++++-
 builtin/shortlog.c             |    3 +-
 pretty.c                       |    7 ++-
 shortlog.h                     |    1 +
 t/t4201-shortlog.sh            |  116 +++++++++++++++++++++++++++++++--------
 t/t6006-rev-list-format.sh     |   19 +++++++
 6 files changed, 132 insertions(+), 29 deletions(-)