Lyle <lion.hopkins@gmail.com> wrote:
Show 6 quoted lines
> I've had an odd issue pop up a few times. After chatting with some > people on #git and doing some further testing I finally managed to > narrow down what's causing the issue. The git command line behaves > properly, but GitGUI changes the file permission on the merge, losing > the execute permission. So 0755 files become 0644, causing problems > when pushed back to origin and pulled down to a Linux repo.
I've run into this too. It has little to do with git gui though, and nothing with msysgit.
It's a bug in git-update-index (which git gui happens to call when you stage a file). Here's some more information about it:
<http://thread.gmane.org/gmane.comp.version-control.git/159716/focus=159888>
It is still on my to-do list to try and fix the problem, but I have never gotten around to it yet.
-- Stefan Haller Berlin, Germany http://www.haller-berlin.de/