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

Re: [PATCH 3/7] l10n: git-parse-remote.sh: mark strings for translation

From: Junio C Hamano <hidden>
Date: 2016-06-16 02:18:43

Vasco Almeida [off-list ref] writes:
+		gettextln "You are not currently on a branch."
+		if test $op_type = "rebase"
	if test "$op_type" = rebase

that is, $op_type could be an empty string that 'test' may not even
see hence it should be double-quoted to ensure 'test' sees an empty
string in that case, while "rebase" cannot be an empty string by
definition so there is no need to quote it.

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