Re: [RFC PATCH 0/5] format-patch: automate cover letter range-diff
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- Jun 6, 2018, 19:16 UTC
- Message-ID
- <CACsJy8D=6fAEpO5m4cc7KZyggAW1AosSkUWaunQBFH0nr-YrdA@mail.gmail.com>
- In-Reply-To
- <20180530080325.37520-1-sunshine@sunshineco.com>
On Wed, May 30, 2018 at 10:03 AM, Eric Sunshine <sunshine@sunshineco.com> wrote:
Show 6 quoted lines
> Dscho recently implemented a 'tbdiff' replacement as a Git builtin named > git-branch-diff[1] which computes differences between two versions of a > patch series. Such a diff can be a useful aid for reviewers when > inserted into a cover letter. However, doing so requires manual > generation (invoking git-branch-diff) and copy/pasting the result into > the cover letter.
Another option which I wanted to go is delegate part of cover letter generation to a hook (or just a config key that contains a shell command). This way it's easier to customize cover letters. We could still have a good fallback that does shortlog, diffstat and tbdiff.
-- Duy