git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* x permission lost on Windows merge
@ 2011-02-19 20:29 Lyle
  0 siblings, 0 replies; only message in thread
From: Lyle @ 2011-02-19 20:29 UTC (permalink / raw
  To: git

Hi All,
   I was just on IRC chatting about this issue. What I'm finding is that 
if a merge happens on a Windows git repo the x permission is lost, 
example (filename changed):

filename.pl

----------------------------- filename.pl -----------------------------
index 0388de4,94d7e76..9c31830
mode 100755,100755..100644

As you can see, both of the modified files are 0755 but the merged file 
is 0644. I know windows files don't have the x permission, which 
explains why the newly created merged file would be missing the x, but 
surely with filemode = false the behaviour should be to carry over the x 
from the two modified files?

This is causing me problems when the merged file gets pulled back onto 
Linux systems where it needs the x permission.


Lyle

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-02-19 20:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-19 20:29 x permission lost on Windows merge Lyle

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).