[PATCH] git-fetch: fix a bashism (==)

Subsystems: the rest

DORMANTno replies

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

[PATCH] git-fetch: fix a bashism (==)

From: Eric Wong <hidden>
Date: 2016-06-15 22:42:33

From: Eric Wong <normalperson@untitled.(none)>

Signed-off-by: Eric Wong <redacted>
---
 git-fetch.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/git-fetch.sh b/git-fetch.sh
index c0d256c..ff17699 100755
--- a/git-fetch.sh
+++ b/git-fetch.sh
@@ -80,7 +80,7 @@ rref=
 rsync_slurped_objects=
 
 rloga="$rloga $remote_nick"
-test "$remote_nick" == "$remote" || rloga="$rloga $remote"
+test "$remote_nick" = "$remote" || rloga="$rloga $remote"
 
 if test "" = "$append"
 then
-- 
1.4.1.g2f48

Re: [PATCH] git-fetch: fix a bashism (==)

From: Eric Wong <hidden>
Date: 2016-06-15 22:42:33

Eric Wong [off-list ref] wrote:
From: Eric Wong <normalperson@untitled.(none)>
Weird, I didn't have my email address set correctly (yet another
different repo from my usual one) and send-email added this line to it.
I'll look into fixing it later today/tonight.

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