Re: git commit -v does not removes the patch
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Nov 13, 2008, 02:15 UTC
- Message-ID
- <7vk5b8jrqm.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <20081112081609.GA3720@coredump.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 11 quoted lines
> Here's a patch series that at least improves the situation by turning > off the diff-stripping if we never put in a diff in the first place. > That way only people who actually _use_ "-v" will have to pay for it. > It has the fix I sent to Santi earlier, as well as some related > cleanups. > > 1/5: define empty tree sha1 as a macro > 2/5: wt-status: refactor initial commit printing > 3/5: status: show "-v" diff even for initial commit > 4/5: commit: loosen pattern for matching "-v" diff > 5/5: commit: only strip diff from message in verbose mode
Makes sense. Thanks, will queue for 'master' with minor futzing to lift minimum fix to 'maint'.