git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Add warning when there are changes in the index and using -a with git  commit
@ 2010-04-21 20:20 Sylvain Rabot
  2010-04-21 21:21 ` Sverre Rabbelier
  0 siblings, 1 reply; 5+ messages in thread
From: Sylvain Rabot @ 2010-04-21 20:20 UTC (permalink / raw)
  To: git

Hi,

Many times I had the bad reflex of doing a git commit -as -m "blah
blah" when I was willing to commit only things I had staged in the
index.

It could be useful to add a warning and a prompt when using the -a
option with changes staged in the index to avoid errors.

Regards.

-- 
Sylvain

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-04-21 22:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-21 20:20 Add warning when there are changes in the index and using -a with git commit Sylvain Rabot
2010-04-21 21:21 ` Sverre Rabbelier
2010-04-21 21:31   ` Eli Barzilay
2010-04-21 21:38   ` Wincent Colaiuta
2010-04-21 22:38     ` Sylvain Rabot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).