From: Laszlo Ersek <laszlo.ersek@posteo.net>
To: git@vger.kernel.org
Subject: git-blame vs. abbrev
Date: Tue, 30 Jun 2026 11:15:17 +0000 [thread overview]
Message-ID: <b500479b-14c1-4fbb-a672-1d2cd4852601@posteo.net> (raw)
Hi,
when git-blame is passed the "-b" option ("Show blank SHA-1 for boundary
commits"), shouldn't git-blame *stop* reserving a commit hash nibble for
the caret that otherwise marks boundary commits?
More directly, I find it inconvenient that git-blame shows commit hashes
that are one nibble longer (13) than my "core.abbrev" (12) setting; that
makes cutting and pasting commit hashes from the git-blame output into a
git-rebase TODO list cumbersome. I briefly hoped that by setting
"blame.blankBoundary", I could get around that, but it doesn't seem to
work (I tried with Git 2.55). I now have an alias that passes
"--abbrev=11" explicitly, as a last resort, to git-blame. (Even a
potential "blame.abbrev" would be superior, but such a permanent setting
doesn't seem to exist.)
Thanks,
Laszlo Ersek
reply other threads:[~2026-06-30 11:15 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=b500479b-14c1-4fbb-a672-1d2cd4852601@posteo.net \
--to=laszlo.ersek@posteo.net \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox