Project.pm: compensate for Git 2.1.0 - 2.2.1 bugs
commite5f0bb683b426cf9a8d9d81020bf7491e65ff4ce
authorKyle J. McKay <mackyle@gmail.com>
Thu, 25 Dec 2014 01:31:13 +0000 (24 17:31 -0800)
committerKyle J. McKay <mackyle@gmail.com>
Thu, 25 Dec 2014 01:31:13 +0000 (24 17:31 -0800)
treeaae9b8b5b14508fbb39d4a27f5868703e1d26b1b
parente2e0a28b0eb8143a5082e0edc787090d76cebaa4
Project.pm: compensate for Git 2.1.0 - 2.2.1 bugs

Git versions 2.1.0 - 2.2.1 make the config file executable when
using git init or git clone to first initialize a .git directory.

Compensate for this behavior that increases the attach surface
by explicitly setting the mode of the config file after git init
to remove the bogus execute permission bit(s).

While this is not necessary on other Git versions, it does not
cause any problems (and ends up setting the file mode to the
value it already has which is harmless).
Girocco/Project.pm