Raimond Spekking raimond.spekking@gmail.com wrote:
os.chmod(target_file, os.path.stat.S_IREAD | os.path.stat.S_IEXEC)
WindowsError: [Error 2] Das System kann die angegebene Datei nicht finden: '.git\hooks\commit-msg'
(the last sentence means: "The system cannot find the file '.git\hooks\commit-msg'")
Any ideas how to fix this?
Maybe it is now related to the fact that if git submodules are used and relatively new git is used and the moon is waning there might no longer be ".git" subdirectory in the submodule (i.e. extension) but there is only one two levels below.
I think aaronsw fixed this upstream with this change:
https://review.openstack.org/#/c/7166/
(it got merged, and should be included in 1.17, the latest of git-review).
//Saper