From: Alex Riesen Date: Thu, 30 Nov 2006 17:14:50 GMT Subject: Re: [PATCH/RFC] Make git-commit cleverer - have it figure out whether it needs -a automatically Message-ID: <81b0412b0611300914u521a5351idde23618c2fbf017@mail.gmail.com> In-Reply-To: <200611301259.32387.andyparkins@gmail.com> On 11/30/06, Andy Parkins wrote: > "Maybe we could do git-commit -a _only_ if the index matches HEAD, and > otherwise keep current behavior? So people who don't care about the > index won't get tripped up, and when you do have a dirty index, you get > told about it?" The is dangerous on filesystems which lie to the programs about file metadata. The "virtual filesystem" of cygwin is one of this kind: exec-bit of the files depend on its contents. Just calling git-commit -a will commit executability at this particular moment. For whatever reason, disabling handling of the exec-mode in gits config does not work. If you about to change the behaviour, provide at least a config option to go back