Re: [PATCH v2 0/2] make commit --verbose work with --no-status
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jun 4, 2015, 18:39 UTC
- Message-ID
- <xmqqd21buxla.fsf@gitster.dls.corp.google.com>
- In-Reply-To
- <1433440591-30917-1-git-send-email-rctay89@gmail.com>
Tay Ray Chuan <rctay89@gmail.com> writes:
> When running git-commit`, --verbose appends a diff to the prepared > message, while --no-status omits git-status output.
The --verbose option is called --verbose and not --diff or --patch for a reason, though. The default is to show extra information as comments, and verbose tells us to make that extra information more verbose. We call that extra information "status", so it is natural for "--no-status" to drop that extra information.
Show 5 quoted lines
> ; thus, one would > expect --verbose --no-status to give a commit message with a diff of > the commit without git-status output. > > However, this is not what happens
And for a good reason, I would think.