On Mon, Sep 21, 2009 at 11:27:45PM -0700, Jeenu wrote:
> 
> I'm running Git under Cygwin and the biggest annoyance that I face
> with aliases is that it messes around with file modes. I my output
> would contain numerous:
> 
> diff --git a/<path> b/<path>
> old mode 100755
> new mode 100644
> 
> And this happens with every other aliase that I set.

Hmm.. have you set:

        git config core.filemode false
yet?

http://www.kernel.org/pub/software/scm/git/docs/git-config.html

If false, the executable bit differences between the index and
the working copy are ignored; useful on broken filesystems
like FAT.

I thought this was set by default on cygwin.
Maybe you copied that repo over from another box?


> Thanks. But I think Cygwin hasn't gone that far yet.

You could always copy
        git-difftool.perl,
        git-difftool--helper.sh, and
        git-mergetool--lib.sh

from git.git into your $PATH as
        git-difftool,
        git-difftool--helper, and
        git-mergetool--lib,
respectively.

It's just Perl and shell and they'll work fine with your existing
git installation as-is until an upgrade comes around.


-- 

        David



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to git-users@googlegroups.com
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to