Luben Tuikov wrote: > --- Andreas Ericsson <ae@op5.se> wrote: > > >>Here's how to automate it. >> >>git format-patch $(git rev-list --max-count=2 <commit-ish> | tail -n >>1)..<commit-ish> > > > I've a similar script, called > "git-format-commit-patch <commit-ish>" which is slightly > more involved. > > >>Either way, you need to know <commit-ish>, but this format should be >>fairly easy to add to git-format-patch. If you do, please > > > How about git-format-patch --commit <commit-ish> > to generate the formatted patch of only what _that_ commit > introduced? (i.e. <parent>..<commit-ish>) Doesn't git-format-patch $commit^1..$commit do what you want? - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
This archive was generated by hypermail 2.1.8 : 2005-11-22 06:12:22 EST