Skip to content

blame: Make --show-name negatable

Rene Kita git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2blame: Make --show-name negatablebuiltin/blame.c+7 -24 replies
2/2blame: Document that --show-name is negatableDocumentation/git-blame.txt+1 -10 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/2] blame: Make --show-name negatable

With -s git blame does not show author and date, but will show the file name if the file was renamed some time in the past. With -c git blame will not show the name, even if the file was renamed, but will show author and date.

Working with a code base that already uses long lines and has a deep nested directory structure the output of git blame gets hard to read due to line wrapping.

While looking for a solution on IRC a user was so nice to gave me a patch (and permission to submit it) that allows to disable showing of the file name even if the file was renamed. This allows to show only the commit id with git blame -s --no-show-name.

The second patch only adds this informations to the man page.

Rene Kita (1):
blame: Document that --show-name is negatable

Øystein Walle (1):
blame: Make --show-name negatable

 Documentation/git-blame.txt | 2 +-
 builtin/blame.c             | 9 +++++++--
 2 files changed, 8 insertions(+), 3 deletions(-)
Signature · 1 line
2.37.3.544.g5c9b9c0a4e