Git development
 help / color / mirror / Atom feed
* cg-commit -p -m ignores -p
@ 2006-09-15 13:23 Gerrit Pape
  2006-09-24 17:48 ` Petr Baudis
  0 siblings, 1 reply; 2+ messages in thread
From: Gerrit Pape @ 2006-09-15 13:23 UTC (permalink / raw)
  To: git, 387515

Hi, please see http:/bugs.debian.org/387515 or below.  I agree that
ideally cg-commit should behave differently.

Thanks, Gerrit.

----- Forwarded message from Andrew Suffield <asuffield@suffields.me.uk> -----

cg-commit -p -m ignores the -p argument and silently commits. Yes,
this is documented, but it's still stupid behaviour; if the user had
meant that, they would have just used -m alone.

At the very least, it should abort with an error (on the basis that
the command makes no sense); more sensibly, it should create a log
message with the given string and then spawn an editor (and then since
the user will probably exit without changing the file, the "Abort or
commit?" message would appear as per usual, which seems to me to be
appropriate behaviour).


----- End forwarded message -----

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

end of thread, other threads:[~2006-09-24 17:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-15 13:23 cg-commit -p -m ignores -p Gerrit Pape
2006-09-24 17:48 ` Petr Baudis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox