Cogito RFE: cg-commit -q

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Cogito RFE: cg-commit -q

From: "H. Peter Anvin" <hpa@zytor.com>
Date: 2016-06-15 22:42:08

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

Re: Cogito RFE: cg-commit -q

From: Petr Baudis <hidden>
Date: 2016-06-15 22:42:09

Dear diary, on Thu, Oct 13, 2005 at 07:45:52PM CEST, I got a letter
where "H. Peter Anvin" [off-list ref] 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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help