Re: amend warnings with no changes staged
Jonathan Nieder <jrnieder@gmail.com> writes:
Show 17 quoted lines
>>> 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.