Git hooks during manual rebase
I noticed today that the git hook checks for e.g. whitespace are not being done when a rebase needs to be manually adjusted. I was able, unwittingly, to add EOF whitespace and commit. I don't know what happened exactly, but I got errors during git pull --rebase origin master
on my branch. The solution seemed to be to manually copy the latest files and then git add ; git --rebase continue
. When a whitespace error is still present in the manually copied files this is not detected.
I just wanted to bring this to your attention, I don't know if anything can be done about it.