From: Jan Krüger Date: Sat, 28 Feb 2009 03:55:31 GMT Subject: Re: How can I force git to recognize a change change in file modes? Message-ID: <20090228045531.14399ebf@perceptron> In-Reply-To: Hi, > I checked in a slew of scripts, only to realize that the file > permissions were too open (I want them to be chmod 700, not chmod > 755). Somehow I thought that git was tracking those permission bits, > but simply using "chmod 700 ; git add " did not add > the change of file modes, well, at least git status output doesn't > show it. Is there a way to do this? git doesn't track permissions quite that closely; all it remembers is whether the file should be executable or not. -Jan