Thread (9 messages) flat view 9 messages, 5 authors, 2016-06-15

Re: [PATCH] Make gc a builtin.

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:42:59

Possibly related (same subject, not in this thread)

Hi,

On Tue, 13 Mar 2007, James Bowes wrote:
Take 3. The changes are pretty much all of Shawn's suggestions. If a 
command fails this code just returns -1, rather than calling error(), so 
that two duplicate error messages aren't printed out.
If you say "return error(...);", there is _no_ way that multiple error 
messages are printed out.

If you say "return -1;", however, the user is likely to _never_ know that 
git-gc failed. (I, for one, do not check $? after running a program which 
does not say _anything_.)

Ciao,
Dscho
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help