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

Re: [PATCH v2] git-latexdiff: new command in contrib, to use latexdiff and Git

From: David Aguilar <hidden>
Date: 2016-06-15 22:53:05

On Thu, Feb 16, 2012 at 12:39 AM, Matthieu Moy [off-list ref] wrote:
+
+verbose () {
+    if [ "$verbose" = 1 ]; then
+       printf "%s ..." "$@"
+    fi
+}
In addition to preferring "test" over "[", we also prefer to write
these on several lines.  It's probably time to update the CodingStyle
document with these notes.

e.g.

if test "$verbose" = 1
then
    .... do stuff
fi

(with hard-tabs, not spaces (unlike my example))
-- 
David
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help