lmi-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lmi-commits] [lmi] master 6117549 3/5: Fix wrong argument of git-fetch


From: Greg Chicares
Subject: [lmi-commits] [lmi] master 6117549 3/5: Fix wrong argument of git-fetch in wxWidgets install script
Date: Tue, 17 Apr 2018 13:02:40 -0400 (EDT)

branch: master
commit 6117549a0cb8d150866c13417e332aaa66bf4625
Author: Vadim Zeitlin <address@hidden>
Commit: Gregory W. Chicares <address@hidden>

    Fix wrong argument of git-fetch in wxWidgets install script
    
    git-fetch takes either the URL of a remote repository or the name of the
    remote, so pass "origin" to it (which is also the default, but can be
    spelt out for clarity) instead of the name of the directory of this
    repository itself, which wouldn't fetch anything new.
---
 install_wx.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/install_wx.sh b/install_wx.sh
index 3633d9d..438772d 100755
--- a/install_wx.sh
+++ b/install_wx.sh
@@ -67,7 +67,7 @@ cd "$proxy_wx_dir"
 # Fetch desired commit from remote host if missing.
 if ! git rev-parse --quiet --verify "$wx_commit_sha^{commit}" >/dev/null
 then
-    git fetch "$proxy_wx_dir"
+    git fetch origin
 fi
 
 git checkout "$wx_commit_sha"



reply via email to

[Prev in Thread] Current Thread [Next in Thread]