All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lyle <webmaster@cosmicperl.com>
To: git@vger.kernel.org
Subject: x permission lost on Windows merge
Date: Sat, 19 Feb 2011 20:29:37 +0000	[thread overview]
Message-ID: <4D602831.8060200@cosmicperl.com> (raw)

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

                 reply	other threads:[~2011-02-19 20:56 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D602831.8060200@cosmicperl.com \
    --to=webmaster@cosmicperl.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.