From: Duy Nguyen Date: Wed, 06 Jun 2018 19:16:55 GMT Subject: Re: [RFC PATCH 0/5] format-patch: automate cover letter range-diff Message-ID: In-Reply-To: <20180530080325.37520-1-sunshine@sunshineco.com> On Wed, May 30, 2018 at 10:03 AM, Eric Sunshine wrote: > 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