Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
tutorial: Fix typo
[gitweb.git]
/
git-clone.sh
diff --git
a/git-clone.sh
b/git-clone.sh
index fdd354f2da1978241a3e79a47a067496150cc1bc..d45618d9afe203d103cb6cdcbd66e23b0dc42932 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