Re: [PATCH, v3] git-tag: introduce --[no-]strip options
- From
Jeff King <peff@peff.net>
- Date
- Dec 3, 2011, 20:04 UTC
- Message-ID
- <20111203200428.GB6207@sigill.intra.peff.net>
- In-Reply-To
- <1322932376-15720-1-git-send-email-kirill@shutemov.name>
On Sat, Dec 03, 2011 at 07:12:56PM +0200, Kirill A. Shutemov wrote:
Show 7 quoted lines
> From: "Kirill A. Shutemov" <kirill@shutemov.name> > > Normally git tag stripes tag message lines starting with '#', trailing > spaces from every line and empty lines from the beginning and end. > > --no-strip is useful if you want to take a tag message as-is, without > any stripping.
Perhaps this should mirror the "--clean" option from git-commit, as they are basically doing the same thing? Besides the name difference, --clean supports three modes: verbatim, whitespace, and strip. And defaults to strip or whitespace depending on whether we are actually writing into the editor.
-Peff