{"thread":{"id":"26566","subject":"Re: Issue with GitGUI losing file permissions on merge","startedAt":"2011-02-21T07:25:24Z","lastAt":"2011-02-21T07:25:24Z","messageCount":1,"participants":["Stefan Haller"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"161779","messageId":"1jx15l9.1taq59z1rcvgbxM%lists@haller-berlin.de","threadId":"26566","inReplyTo":"79ec6c5b-eb2e-4f19-90c6-00e3af72797e@q14g2000vbf.googlegroups.com","subject":"Re: Issue with GitGUI losing file permissions on merge","fromName":"Stefan Haller","fromEmail":"lists@haller-berlin.de","sentAt":"2011-02-21T07:25:24Z","receivedAt":"2011-02-21T07:25:24Z","isPatch":false,"sender":{"key":"lists@haller-berlin.de","avatar":null},"body":"Lyle <lion.hopkins@gmail.com> wrote:\n\n>   I've had an odd issue pop up a few times. After chatting with some\n> people on #git and doing some further testing I finally managed to\n> narrow down what's causing the issue. The git command line behaves\n> properly, but GitGUI changes the file permission on the merge, losing\n> the execute permission. So 0755 files become 0644, causing problems\n> when pushed back to origin and pulled down to a Linux repo.\n\nI've run into this too.  It has little to do with git gui though, and\nnothing with msysgit.\n\nIt's a bug in git-update-index (which git gui happens to call when you\nstage a file).  Here's some more information about it:\n\n   <http://thread.gmane.org/gmane.comp.version-control.git/159716/focus=159888>\n\nIt is still on my to-do list to try and fix the problem, but I have\nnever gotten around to it yet.\n\n\n-- \nStefan Haller\nBerlin, Germany\nhttp://www.haller-berlin.de/\n"}]}