Linux maintainer tooling and workflows
 help / color / mirror / Atom feed
From: Bill Pemberton <wfp5p@worldbroken.com>
To: tools@linux.kernel.org
Subject: b4 and abbrevCommit
Date: Fri, 23 Dec 2022 17:22:27 -0500	[thread overview]
Message-ID: <01304af2-3412-8385-3336-4dda9104336e@worldbroken.com> (raw)

I've discovered that b4 will not work correctly if you have abbrevCommit 
set in your .gitconfig file.  For example, a simple 'b4 prep 
--edit-cover' will result in the cover letter not actually changing. 
You'll get the edit process and such, but after the fact the commit with 
the cover letter will still be the default one that b4 creates.

I assume all calls to git log and git show need the --no-abbrev-commit 
option.  Or at least this gotcha should be documented.

-- 
Bill

             reply	other threads:[~2022-12-23 22:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-23 22:22 Bill Pemberton [this message]
2022-12-27 15:15 ` b4 and abbrevCommit Konstantin Ryabitsev
2022-12-27 15:50 ` Konstantin Ryabitsev

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=01304af2-3412-8385-3336-4dda9104336e@worldbroken.com \
    --to=wfp5p@worldbroken.com \
    --cc=tools@linux.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).