Re: git commit -v does not removes the patch

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Junio C Hamano <gitster@...>
Cc: Santi <santi@...>, Git Mailing List <git@...>
Date: Wednesday, November 12, 2008 - 4:16 am

On Tue, Nov 11, 2008 at 09:13:18AM -0800, Junio C Hamano wrote:


I am little hesitant to do this, because I think people have scripted
minorly around the template format (at the very least, for syntax
highlighting). I think some people may have pre-written templates, as
well, though I guess your "If we do not see..." paragraph is meant to
address that. Though that brings some confusion itself, because now the
parsing rules for what is kept change if I delete that line.

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

-Peff
--
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
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
git commit -v does not removes the patch, Santi Béjar, (Mon Nov 10, 11:20 am)
Re: git commit -v does not removes the patch, Jeff King, (Mon Nov 10, 2:10 pm)
Re: git commit -v does not removes the patch, Santi Béjar, (Mon Nov 10, 6:34 pm)
Re: git commit -v does not removes the patch, Junio C Hamano, (Mon Nov 10, 7:27 pm)
Re: git commit -v does not removes the patch, Jeff King, (Mon Nov 10, 8:07 pm)
Re: git commit -v does not removes the patch, Santi Béjar, (Tue Nov 11, 3:56 am)
Re: git commit -v does not removes the patch, Jeff King, (Tue Nov 11, 6:29 am)
Re: git commit -v does not removes the patch, Junio C Hamano, (Tue Nov 11, 1:13 pm)
Re: git commit -v does not removes the patch, Jeff King, (Wed Nov 12, 4:16 am)
Re: git commit -v does not removes the patch, SZEDER , (Thu Nov 20, 9:09 am)
Re: git commit -v does not removes the patch, Jeff King, (Thu Nov 20, 11:20 am)
Re: git commit -v does not removes the patch, SZEDER , (Sat Nov 22, 11:55 am)
Re: git commit -v does not removes the patch, Junio C Hamano, (Sat Nov 22, 6:43 pm)
Re: git commit -v does not removes the patch, Jeff King, (Sat Nov 22, 4:10 pm)
[PATCH 1/5] define empty tree sha1 as a macro, Jeff King, (Wed Nov 12, 4:17 am)
Re: git commit -v does not removes the patch, Santi Béjar, (Tue Nov 11, 7:20 am)