* Checking out messes up execution bit
@ 2010-11-06 21:11 Manuel Strehl
2010-11-07 0:11 ` Peter Harris
0 siblings, 1 reply; 2+ messages in thread
From: Manuel Strehl @ 2010-11-06 21:11 UTC (permalink / raw)
To: git
Hello list,
I asked a question over at superuser.com about git checkouts messing up
the execution bit of freshly committed files:
http://superuser.com/questions/204757
To put it in a nutshell: I edit and commit a file in branch "master",
then I check out branch "dev" and the edited file gets the execution bit
set. This leads to a working copy differing from the content of the
index. It's especially painful when I try to merge "master" into "dev",
which fails then. I'm working under ext4 and Samba/CIFS, respectively.
One answerer at superuser thinks that this looks like a bug in git
itself. Therefore I'd like to check with you, if there is possibly
another explanation for my observation, before I issue a bug report.
Best,
Manuel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Checking out messes up execution bit
2010-11-06 21:11 Checking out messes up execution bit Manuel Strehl
@ 2010-11-07 0:11 ` Peter Harris
0 siblings, 0 replies; 2+ messages in thread
From: Peter Harris @ 2010-11-07 0:11 UTC (permalink / raw)
To: Manuel Strehl; +Cc: git
On Sat, Nov 6, 2010 at 5:11 PM, Manuel Strehl wrote:
> To put it in a nutshell: I edit and commit a file in branch "master", then I
> check out branch "dev" and the edited file gets the execution bit set. This
> leads to a working copy differing from the content of the index. It's
> especially painful when I try to merge "master" into "dev", which fails
> then. I'm working under ext4 and Samba/CIFS, respectively.
This is because CIFS does not support the execution bit.
> One answerer at superuser thinks that this looks like a bug in git itself.
> Therefore I'd like to check with you, if there is possibly another
> explanation for my observation, before I issue a bug report.
See core.fileMode in "git help config"
Peter Harris
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-11-07 0:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-06 21:11 Checking out messes up execution bit Manuel Strehl
2010-11-07 0:11 ` Peter Harris
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 NNTP newsgroup(s).