Thread (1 message) 1 message, 1 author, 2019-08-06

Re: amend warnings with no changes staged

From: Junio C Hamano <hidden>
Date: 2019-08-06 03:29:48

Jonathan Nieder [off-list ref] writes:
quoted
quoted
Some non-judgemental descriptive output like

	$ git commit --amend --no-edit
	No changes.
	$

would address this case, without bothering people who are doing it
intentionally.  So I think there's room for a simple improvement here.
I do that to refresh the committer timestamp.
I do, too.  The proposal is, paraphrasing,

	$ git commit --amend --no-edit
	Ah, I see that you want me to refresh the committer timestamp.
	Done, as requested.
	$
Ah, OK then.  I somehow misread "No changes." as an error message.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help