Code

Teach bash completion about recent log long options
[git.git] / git-clone.sh
index 70374aaaf0f766588739053becc36831381d4f35..fdd354f2da1978241a3e79a47a067496150cc1bc 100755 (executable)
@@ -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