Re: Issue with GitGUI losing file permissions on merge

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Lyle <lion.hopkins@xxxxxxxxx> 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/
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]