Re: [PATCHv2] install-webdoc: quell diff output on stdout

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

Re: [PATCHv2] install-webdoc: quell diff output on stdout

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:49:30

Michael J Gruber [off-list ref] writes:
When installing html-doc, install-webdoc.sh compares the installed html
with the version to be installed using diff. Currently, the diff output
fills up stdout.

install-webdoc.sh actually uses $DIFF, and is the only user.
I think you broke "tNNNN-X.sh -v"; isn't $DIFF used in t/ scripts
everywhere?

Even if install-webdoc.sh were the sole user (which is not), please don't
do it this way.  Instead, introduce "SHOW_PATCH_WHILE_INSTALLING_WEBDOC"
or something, and run "$DIFF" with "-q" when it is not set.

Otherwise you would forbid people from using $DIFF for its intended
purpose: name a diff binary that can be used that is different from a
crappy diff your platform gives you by default.

Re: [PATCHv2] install-webdoc: quell diff output on stdout

From: Michael J Gruber <hidden>
Date: 2016-06-15 22:49:30

Junio C Hamano venit, vidit, dixit 06.09.2010 09:07:
Michael J Gruber [off-list ref] writes:
quoted
When installing html-doc, install-webdoc.sh compares the installed html
with the version to be installed using diff. Currently, the diff output
fills up stdout.

install-webdoc.sh actually uses $DIFF, and is the only user.
I think you broke "tNNNN-X.sh -v"; isn't $DIFF used in t/ scripts
everywhere?
Um, OK, sorry. I grepped for it but not everywhere it seems. I'll be
partially online only this week but I'll try to come up with something
agreeable.

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