Re: git-format-patch little gripe
- From
Junio C Hamano <junkio@cox.net>
- Date
- Nov 3, 2006, 22:26 UTC
- Message-ID
- <7v3b905fqi.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <20061103195253.9244.qmail@web31814.mail.mud.yahoo.com>
Luben Tuikov <ltuikov@yahoo.com> writes:
> Also I doubt how many people actually have coded in their scripts > "git-format-patch <sha-1>" to mead by default "<sha-1>..HEAD" -- I'd think > that maintainers always want to know the "end point" and would always > use the <a>..<b> format, instead of presuming where/what their HEAD is.
Well, the answer would be "do not script around Porcelain".
> Sorry it's my rant. I know it's not your fault.
I do not even think there is any "fault" there, to be honest, so there is no need to apologize. The format-patch command does what it was designed to do and does it well -- format a sequence of patches for upstream submission.
If you want a single patch, you can always say "git show", by the way.