From: Luben Tuikov Date: Mon, 21 Nov 2005 18:27:37 GMT Subject: Re: [RFC] git-format-patch options Message-ID: <20051121182737.43012.qmail@web31811.mail.mud.yahoo.com> In-Reply-To: <43820AF8.5060208@op5.se> --- Andreas Ericsson wrote: > Here's how to automate it. > > git format-patch $(git rev-list --max-count=2 | tail -n > 1).. I've a similar script, called "git-format-commit-patch " which is slightly more involved. > Either way, you need to know , but this format should be > fairly easy to add to git-format-patch. If you do, please How about git-format-patch --commit to generate the formatted patch of only what _that_ commit introduced? (i.e. ..) Do people find this valuable to have? Luben P.S. Since it is really trivial to write such a script on top of git-rev-list and git-format-patch, it may be easier to just leave things as they are. It was just something I needed, which I thought other people might need too.