git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
EWEric Wong <normalperson@yhbt.net>
Date
Jul 11, 2006, 21:06 UTC
Message-ID
<11526519991197-git-send-email-normalperson@yhbt.net>
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(-)
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
Next: Eric Wong
Message 1 of 2 in “git-fetch: fix a bashism (==)”
  1. git-fetch: fix a bashism (==)Eric Wong, Jul 11, 2006
  2. Eric WongJul 11, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.