projects
/
xonotic
/
xonotic.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f0c8c17
)
if we fetched via ssh://, switch to git:// for fetching and keep using ssh:// for...
author
Rudolf Polzer <divverent@alientrap.org>
Sun, 21 Nov 2010 15:34:12 +0000
(16:34 +0100)
committer
Rudolf Polzer <divverent@alientrap.org>
Sun, 21 Nov 2010 15:34:12 +0000
(16:34 +0100)
all
patch
|
blob
|
history
diff --git
a/all
b/all
index 051a5e8e5ace91e81422c302d0c33fdcf54910a5..e4b60dfb95db67cf422e5f35889e4fd973d0d8f1 100755
(executable)
--- a/
all
+++ b/
all
@@
-546,6
+546,13
@@
case "$cmd" in
esac
case "$location" in
best)
+ # if we fetched via ssh://, switch to git:// for fetching and keep using ssh:// for pushing
+ case "$base" in
+ ssh://*)
+ pushbase=$base
+ base=git://git.xonotic.org/xonotic/xonotic.git
+ ;;
+ esac
newbase=`$ECHO "$base" | sed "s,://\(.*\.\)\?git.xonotic.org/,:// .git.xonotic.org/,"`
case "$newbase" in
*\ *)