Re: Seeing various mode changes on cygwin
- From
Junio C Hamano <junkio@cox.net>
- Date
- Oct 8, 2005, 18:51 UTC
- Message-ID
- <7vfyrbrgdw.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <20051008180023.GC28875@diku.dk>
Jonas Fonseca <fonseca@diku.dk> writes:
Show 10 quoted lines
> ... It seems that cygwin overrides the previous > modes and sets the executable bit. git-reset doesn't fix it. Can this even be > fixed then? > > A few examples below ... > > jonas@cygwin /usr/local/dev/git/git > $ git reset > Documentation/sort_glossary.pl: needs update > t/lib-read-tree-m-3way.sh: needs update
I do not have an access to Cygwin environment so cannot be of help on this directly, but 'git reset' without flags defaults "--mixed" and leaves the modified files intact. Maybe hard reset would help here, but the real solution is to figure out why these files acquired the extra executable bits in the first place.