git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Cogito RFE: cg-commit -q
@ 2005-10-13 17:45 H. Peter Anvin
  2005-10-21 22:06 ` Petr Baudis
  0 siblings, 1 reply; 2+ messages in thread
From: H. Peter Anvin @ 2005-10-13 17:45 UTC (permalink / raw)
  To: Git Mailing List, Petr Baudis

I would find it very useful if cg-commit had a "-q" option, meaning 
"silently skip this commit if there is nothing to commit."  There are 
some automatic release scripts that I have which enforces consistency 
before release, but if the repository is already correctly set up for 
release, there is nothing to do.

This is the opposite of -f, which would create a commit object pointing 
to the same tree.

	-hpa

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

* Re: Cogito RFE: cg-commit -q
  2005-10-13 17:45 Cogito RFE: cg-commit -q H. Peter Anvin
@ 2005-10-21 22:06 ` Petr Baudis
  0 siblings, 0 replies; 2+ messages in thread
From: Petr Baudis @ 2005-10-21 22:06 UTC (permalink / raw)
  To: H. Peter Anvin; +Cc: Git Mailing List

Dear diary, on Thu, Oct 13, 2005 at 07:45:52PM CEST, I got a letter
where "H. Peter Anvin" <hpa@zytor.com> told me that...
> I would find it very useful if cg-commit had a "-q" option, meaning 
> "silently skip this commit if there is nothing to commit."  There are 
> some automatic release scripts that I have which enforces consistency 
> before release, but if the repository is already correctly set up for 
> release, there is nothing to do.
> 
> This is the opposite of -f, which would create a commit object pointing 
> to the same tree.

Thanks for the idea, implemented.

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
VI has two modes: the one in which it beeps and the one in which
it doesn't.

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

end of thread, other threads:[~2005-10-21 22:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-13 17:45 Cogito RFE: cg-commit -q H. Peter Anvin
2005-10-21 22:06 ` Petr Baudis

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).