From: viresh kumar <viresh.kumar@st.com>
To: "kusmabite@gmail.com" <kusmabite@gmail.com>,
Jakub Narebski <jnareb@gmail.com>, <ae@op5.se>
Cc: Jakub Narebski <jnareb@gmail.com>,
"git@vger.kernel.org" <git@vger.kernel.org>,
Shiraz HASHIM <shiraz.hashim@st.com>,
Vipin KUMAR <vipin.kumar@st.com>
Subject: Re: Copying Git repository from Linux to Windows.
Date: Wed, 15 Jun 2011 17:32:30 +0530 [thread overview]
Message-ID: <4DF89F56.3060200@st.com> (raw)
In-Reply-To: <BANLkTik+oUb1QpVTwJfB30_8FsW=4ZVTxA@mail.gmail.com>
On 06/15/2011 04:56 PM, Erik Faye-Lund wrote:
> On Wed, Jun 15, 2011 at 1:04 PM, viresh kumar <viresh.kumar@st.com> wrote:
>> On 06/15/2011 04:10 PM, Jakub Narebski wrote:
> Sounds like you should try "git config core.filemode false":
>
> "core.fileMode:
> If false, the executable bit differences between the index and
> the working copy are ignored; useful on broken filesystems like FAT"
>
> (from from http://kernel.org/pub/software/scm/git/docs/git-config.html)
> .
>
On 06/15/2011 04:59 PM, Jakub Narebski wrote:
> On Wed, 15 June 2011, viresh kumar wrote:
>> On 06/15/2011 04:10 PM, Jakub Narebski wrote:
>>> viresh kumar <viresh.kumar@st.com> writes:
> Ah. This is caused by the fact that FAT doesn't store executable
> permission.
>
> So beside setting `core.symlinks` to false, you would have also set
> `core.filemode` to false (and perhaps also `core.ignorecase` to true).
>
> You might also want to set `core.ignoreStat` to true to try to increase
> performace.
>
> P.S. git-bundle ddidn't work?
didn't tried that. :(
>
Guys, thanks for your inputs. core.filemode was new to me.
I tried to resolved issue in some other way.
I have tarred kernel before copying to memory stick. And after untarring kernel
on windows, file permission are not changed for all files with permission 644 originally.
There are some files in kernel whose permissions are 755 and they are converted to 644.
And are shown in git status as _modified_.
I got rid of them with core.filemode as false, but there is one more issue, as pointed out by
Andreas. There are few files in kernel with same file name but in different _cases_ (one in caps
and another in small.) and so i am getting issues with these now.
And don't have any idea how to get rid of that? And why does kernel have such file names at all?
--
viresh
next prev parent reply other threads:[~2011-06-15 12:03 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-15 9:28 Copying Git repository from Linux to Windows viresh kumar
2011-06-15 9:47 ` Andreas Ericsson
2011-06-15 10:40 ` Jakub Narebski
2011-06-15 11:04 ` viresh kumar
2011-06-15 11:26 ` Erik Faye-Lund
2011-06-15 12:02 ` viresh kumar [this message]
2011-06-15 12:41 ` Andreas Ericsson
2011-06-16 3:33 ` viresh kumar
2011-06-16 8:17 ` Philippe Vaucher
2011-06-16 8:22 ` viresh kumar
2011-06-16 8:50 ` Johannes Sixt
2011-06-16 8:55 ` viresh kumar
2011-06-16 14:15 ` Jakub Narebski
2011-06-17 3:52 ` viresh kumar
2011-06-15 14:14 ` Jakub Narebski
2011-06-20 19:57 ` Phil Hord
2011-06-15 11:29 ` Jakub Narebski
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=4DF89F56.3060200@st.com \
--to=viresh.kumar@st.com \
--cc=ae@op5.se \
--cc=git@vger.kernel.org \
--cc=jnareb@gmail.com \
--cc=kusmabite@gmail.com \
--cc=shiraz.hashim@st.com \
--cc=vipin.kumar@st.com \
/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 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).