Skip to content

Selectively show only blamed limes

Philip Oakley git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4doc: blame: show the boundary commit '^' caret markDocumentation/git-blame.txt+3 -30 replies
2/4blame: add option to show only blamed commits `--blame-only`Documentation/blame-options.txt Documentation/git-blame.txt builtin/blame.c+7 -10 replies
3/4blame: do not show boundary commits, only those blamedbuiltin/blame.c t/t8002-blame.sh+8 -00 replies
4/4blame: test the -b option, use blank oid for boundary commits.t/t8002-blame.sh+12 -02 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/4] Selectively show only blamed limes

While git blame is able to select interesting line regions of a file, it's not easy to just display blame lines since a recent date, especially for large files.

The recent discussion on CMake[1] notes the issue of ensuring any CMake scheme kept up with changes to the fairly long Makefile. This short series first clarifies the marking of 'boundary' commits outwith the revision range or time range, then adds a --blame-only option to supress non-blame (boundary) commit lines, with tests, and finally adds tests for the long standing -b option that simply blanks out the oid, but still displays the whole file.

Philip

cc: Sibi Siddharthan <[email protected]>
[1] https://lore.kernel.org/git/[email protected]/

Philip Oakley (4):
doc: blame: show the boundary commit '^' caret mark
blame: add option to show only blamed commits --blame-only
blame: do not show boundary commits, only those blamed
blame: test the -b option, use blank oid for boundary commits.

 Documentation/blame-options.txt |  4 ++++
 Documentation/git-blame.txt     |  8 ++++----
 builtin/blame.c                 |  3 +++
 t/t8002-blame.sh                | 19 +++++++++++++++++++
 4 files changed, 30 insertions(+), 4 deletions(-)
Signature · 1 line
2.26.2.windows.1.13.g9dddff6983