From: Junio C Hamano Date: Thu, 13 Nov 2008 02:15:45 GMT Subject: Re: git commit -v does not removes the patch Message-ID: <7vk5b8jrqm.fsf@gitster.siamese.dyndns.org> In-Reply-To: <20081112081609.GA3720@coredump.intra.peff.net> Jeff King writes: > 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'.