config icon indicating copy to clipboard operation
config copied to clipboard

pre-commit - handle amend

Open laplasz opened this issue 10 years ago • 1 comments

Hi There!

Sometimes it can happen that an existing commit is being amended. and amending a commit can be done without code modifcation - if you just want to modify the commit msg.

so aborting a change if no changes is not a good think. NO CHANGES ADDED, ABORT COMMIT!

What do you think?

laplasz avatar Jul 09 '14 12:07 laplasz

sorry for my belated response.

em, this must be a good idea to aborting a empty commit. For the sake of security, however, i also want to warn people there is an empty commit.

can u give me some suggestion?thank you。

imoldman avatar Oct 27 '14 05:10 imoldman