Thread (1 message) 1 message, 1 author, 2016-06-15

Re: non-empty index with git commit -a

From: Matthieu Moy <hidden>
Date: 2016-06-15 22:50:34

Jonathan Nieder [off-list ref] writes:
If I remember the discussion[1] correctly, by requiring a separate
add -u step (or commit -f -a) if the "I don't trust my fingers"
configuration is enabled.

[1] http://thread.gmane.org/gmane.linux.debian.devel.bugs.general/698001/focus=145662
You may want to look at what eg (easy git) does too:

http://people.gnome.org/~newren/eg/documentation/commit.html

essentially, it considers commiting with dirty index the uncommon
case, and requires an extra --staged flag to allow it.

-- 
Matthieu Moy
http://www-verimag.imag.fr/~moy/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help