Skip to contentSkip to conversation

git-fetch: fix a bashism (==)

PATCH In review Eric Wong 1 participant 2 messages Jun 15, 2016

lore
Share & tools
lore

Eric Wong

author
#0 lore raw

PATCH 1/1 git-fetch: fix a bashism (==)

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

---
 git-fetch.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
git-fetch.sh +1 -1
index c0d256c..ff17699 100755
@@ -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
Signature · 1 line
1.4.1.g2f48
author
#1 lore raw
Quoted 1 line · Eric Wong

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.

Signature · 1 line
Eric Wong