Thread (14 messages) flat view 14 messages, 6 authors, 2016-08-11

Re: [PATCH/RFC] Make git-commit cleverer - have it figure out whether it needs -a automatically

From: Alex Riesen <hidden>
Date: 2016-08-11 20:18:38

On 11/30/06, Andy Parkins [off-list ref] 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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help