Re: [PATCH 4/4] hook: add a simple first example
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Jul 11, 2017, 16:03 UTC
- Message-ID
- <xmqqtw2j2c6r.fsf@gitster.mtv.corp.google.com>
- In-Reply-To
- <1499779787.1740.5.camel@gmail.com>
Kaartic Sivaraam <kaarticsivaraam91196@gmail.com> writes:
> I'm was trying to ask, "Is there any way to change the second example > (diff --name-status) to make it work with "commit --amend" so that it > could be uncommented by default ?"
But does it even be useful to enable it? The commented out "git status" output already lists the modified paths, so I do not think anything is gained by adding 'diff --cached --name-status' there.