summaryrefslogtreecommitdiff
path: root/git-clone.sh
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <junkio@cox.net>2007-05-14 18:50:01 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2007-05-14 18:50:01 -0700
commit3545193735522f733fdb4e345f16ddf131e2007a (patch)
tree9d14e21d5b1c03ec54d9a7b45defcb06b9caa69e /git-clone.sh
parentcvsserver: Don't send mixed messages to clients (diff)
parentPrepare for 1.5.1.5 Release Notes (diff)
downloadtgif-3545193735522f733fdb4e345f16ddf131e2007a.tar.xz
Merge branch 'maint'
* maint: Prepare for 1.5.1.5 Release Notes gitweb: Add a few comments about %feature hash git-am: Clean up the asciidoc documentation Documentation: format-patch has no --mbox option builtin-log.c: Fix typo in comment Fix git-clone buglet for remote case.
Diffstat (limited to 'git-clone.sh')
-rwxr-xr-xgit-clone.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-clone.sh b/git-clone.sh
index 70374aaaf0..fdd354f2da 100755
--- a/git-clone.sh
+++ b/git-clone.sh
@@ -22,10 +22,10 @@ get_repo_base() {
cd "`/bin/pwd`" &&
cd "$1" &&
{
- cd .git 2>/dev/null
+ cd .git
pwd
}
- )
+ ) 2>/dev/null
}
if [ -n "$GIT_SSL_NO_VERIFY" ]; then