Why does git care about trailing whitespace in my files? -


What is the VCS I've used in my files to worry about it? I can not find what is the matter here, is there a GIT version control or syntax checker?

That's because one of the most common uses for Git is tracing patch chain through email Location is the cause of the problem in the email, and thus is usually stripped, which means that any backward space will be lost in the process of sending the patch and implementing it via email. In lieu of this it means that if there are empty spaces on the lines in the repo but not implemented in the patch, then you can fight counterfeit or if there was no intention of making additional changes, when applying the patch.

This pre-committed hook was enabled by default, but now is not it seems that I have been missed; . As others have said, it is always a sample pre-committed hook; It was disabled by not executing the bits, but something that could easily get spoiled (for example, running on Windows under Sigwin), so in the new versions of the Git (from) the samples were disabled Has been named pre-commit.sample . If you do not like the behavior, then you can remove or delete your .git / hooks / pre-commit to prevent this hook from executing. You should update your GIT recently, because it has been fixed for some time.


Comments

Popular posts from this blog

MySql variables and php -

url rewriting - How to implement the returnurl like SO in PHP? -

kernel - How to create a "Block device" in Windows -