summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-01-29 23:36:54 +0100
committerwm4 <wm4@nowhere>2014-01-29 23:36:54 +0100
commit48a9902cf0fc0cfec0712b8c26f70be7798db3dd (patch)
tree18575f6d694c20fccb35d8e8e2d13785ea6466d8
parent387bda3713f36d7a4040fd2991db7dee4ca67c39 (diff)
downloadmpv-build-48a9902cf0fc0cfec0712b8c26f70be7798db3dd.tar.bz2
mpv-build-48a9902cf0fc0cfec0712b8c26f70be7798db3dd.tar.xz
Always force the git fetch remote URL
This makes it easy to switch the repo URL, like we'll have to do with libass. If you don't want this, edit the update script, I guess.
-rwxr-xr-xupdate1
1 files changed, 1 insertions, 0 deletions
diff --git a/update b/update
index 24aba93..89db462 100755
--- a/update
+++ b/update
@@ -8,6 +8,7 @@ do_clone()
fi
(
cd "$1"
+ git remote set-url origin "$2"
git fetch
)
}