Thread (1 message) 1 message, 1 author, 2016-06-15

Re: Issue with GitGUI losing file permissions on merge

From: Stefan Haller <hidden>
Date: 2016-06-15 22:50:37

Lyle [off-list ref] wrote:
  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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help