In my workflow I want to make some changes in file and keep them in my local machine. For this purpose I have written a pre-commit
hook to reset those files before any commit.
The problem is that the default message:
# Changes to be committed:
# FileToBeCommited1
# FileToBeCommited1
# FileAlreadyResetByPre-comitHook
has a list of files that will be committed. Fore some reason it always contain the names of the files that I have already reset in my hooks.
Its not really a big problem, but I would like it to be resolved if possible. Also I don't want to write prepare-commit-msg
hook to write the full message myself.