{"thread":{"id":"40469","subject":"[PATCH] Documentation: squelch diff output in install-webdoc.sh","startedAt":"2015-10-01T18:06:16Z","lastAt":"2015-10-01T18:06:16Z","messageCount":1,"participants":["Thomas Ackermann"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"270984","messageId":"711797143.1885575.1443722776280.JavaMail.ngmail@webmail09.arcor-online.net","threadId":"40469","inReplyTo":null,"subject":"[PATCH] Documentation: squelch diff output in install-webdoc.sh","fromName":"Thomas Ackermann","fromEmail":"th.acker@arcor.de","sentAt":"2015-10-01T18:06:16Z","receivedAt":"2015-10-01T18:06:16Z","isPatch":true,"sender":{"key":"th.acker@arcor.de","avatar":"https://avatars.githubusercontent.com/u/1358536?v=4"},"body":"\nDiff is used in install-webdoc.sh to identify changed files\nwhich need to be installed, but the output of diff is not\nneeded during the installation process. So squelch diff\noutput by redirecting to /dev/null.\n\nSigned-off-by: Thomas Ackermann <th.acker@arcor.de>\n---\n Documentation/install-webdoc.sh | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)\n\ndiff --git a/Documentation/install-webdoc.sh b/Documentation/install-webdoc.sh\nindex ed8b4ff..b3b8d19 100755\n--- a/Documentation/install-webdoc.sh\n+++ b/Documentation/install-webdoc.sh\n@@ -12,7 +12,7 @@ do\n \tthen\n \t\t: did not match\n \telif test -f \"$T/$h\" &&\n-\t\t$DIFF -u -I'^Last updated ' \"$T/$h\" \"$h\"\n+\t\t$DIFF -u -I'^Last updated ' \"$T/$h\" \"$h\" >/dev/null\n \tthen\n \t\t:; # up to date\n \telse\n-- \n2.5.0.windows.1\n"}]}