# Apply Patch giving warnings in windows

1 messages from 2011-02-05 to 2011-02-05. Participants: ashish.mittal.
Thread: https://gitlist.dev/t/26417

## ashish.mittal, 2011-02-05 08:44

Subject: Apply Patch giving warnings in windows
Message-ID: <1296895441967-5995091.post@n2.nabble.com>
URL: https://gitlist.dev/e/1296895441967-5995091.post%40n2.nabble.com

```

Hello members,

I created a patch on ubuntu using 'git format-patch -1' for my last commit.
When I did 'git apply --check patch_name', I got 'warning: file_name of type
100644, expected 100755'. The execution bit of the files was set. I set the
filemode in config to true using 'git config core.filemode true'. The git
apply --check was giving no more warnings. But I get same warnings on
Windows even after setting the filemode to true and false both. Can anyone
guide me regarding this?

Thanks,
Ashish Mittal
-- 
View this message in context: http://git.661346.n2.nabble.com/Apply-Patch-giving-warnings-in-windows-tp5995091p5995091.html
Sent from the git mailing list archive at Nabble.com.

```
