diff options
author | Karthik Nayak <karthik.188@gmail.com> | 2025-04-03 18:03:26 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2025-04-07 14:50:18 -0700 |
commit | 4d253071ddd44ee5fad88702431603d43215b3af (patch) | |
tree | ce6cc33e93aab1fea6e5a526847d231fbd05f768 /commit.c | |
parent | 683c54c999c301c2cd6f715c411407c413b1d84e (diff) |
blame: print unblamable and ignored commits in porcelain mode
The 'git-blame(1)' command allows users to ignore specific revisions via
the '--ignore-rev <rev>' and '--ignore-revs-file <file>' flags. These
flags are often combined with the 'blame.markIgnoredLines' and
'blame.markUnblamableLines' config options. These config options prefix
ignored and unblamable lines with a '?' and '*', respectively.
However, this option was never extended to the porcelain mode of
'git-blame(1)'. Since the documentation does not indicate this
exclusion, it is a bug.
Fix this by printing 'ignored' and 'unblamable' respectively for the
options when using the porcelain modes.
Helped-by: Patrick Steinhardt <ps@pks.im>
Helped-by: Toon Claes <toon@iotcl.com>
Helped-by: Phillip Wood <phillip.wood123@gmail.com>
Signed-off-by: Karthik Nayak <karthik.188@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
0 files changed, 0 insertions, 0 deletions