Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH v3 2/3] git-push: clean up some of the output from git push --porcelain

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:48:12

Larry D'Anna [off-list ref] writes:
* don't emit long explanatory message about non-fast-forward updates.
This makes sense as a goal, but at the same time as an implementation it
would be cleaner to flip "advice" off under --porcelain, instead of doing
"s/if (advice_blah)/if (advice_blah && !porcelain)/;".

This is doubly important if you consider longer term maintainability.  I
do not want to see the next person who tries to add new advice messages to
copy and paste the long if() statement you added in this patch.
* send "To dest" lines to standard out so whoever is reading standard
out knows which ref updates went to which remotes.
Makes sense. s/standard out/the standard output/, and
s/reading .*knows/reading from the process knows/, perhaps.
* only send the "Everything up-to-date" line if verbose.
Don't you want to send this also to stdout?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help