Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Document git read-tree --trivial
[gitweb.git]
/
git-clone.sh
diff --git
a/git-clone.sh
b/git-clone.sh
index 5bfd8d1556bb7d0da0beaf3685b2350af20e1e15..3a410624d374e9d02b305a25469176e4d4e725e6 100755
(executable)
--- a/
git-clone.sh
+++ b/
git-clone.sh
@@
-20,7
+20,7
@@
usage() {
get_repo_base() {
(
cd "`/bin/pwd`" &&
- cd "$1" &&
+ cd "$1"
|| cd "$1.git"
&&
{
cd .git
pwd