threads / patch / 4853

patchgit-fetch: fix a bashism (==)

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

## tl;dr

2 messages between Jul 11, 2006 and Jul 11, 2006. Diffs are folded; open one to read it.

replies: 1people: 1as markdown or json

Eric Wong· Jul 11, 2006, 21:06 UTC · lore
From: Eric Wong <normalperson@untitled.(none)>
Signed-off-by: Eric Wong <normalperson@yhbt.net>
---
 git-fetch.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
Show changes to git-fetch.sh +1 −1
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
Eric Wong· Jul 11, 2006, 21:10 UTC · re: Eric Wong · lore

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

Eric Wong <normalperson@yhbt.net> 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

← back to recent threads