diff options
author | Junio C Hamano <junkio@cox.net> | 2006-12-13 11:03:33 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-12-13 11:03:33 -0800 |
commit | f88bd392e6aa57a985604b13f6ade47f241b3c77 (patch) | |
tree | ac340bf1b3d5856cb8813c2ffc68e82c1285f54d | |
parent | Merge branch 'jc/numstat' (diff) | |
parent | Explicitly add the default "git pull" behaviour to .git/config on clone (diff) | |
download | tgif-f88bd392e6aa57a985604b13f6ade47f241b3c77.tar.xz |
Merge branch 'ap/clone-origin'
* ap/clone-origin:
Explicitly add the default "git pull" behaviour to .git/config on clone
-rwxr-xr-x | git-clone.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/git-clone.sh b/git-clone.sh index 0ace989fde..1f5d07a057 100755 --- a/git-clone.sh +++ b/git-clone.sh @@ -400,7 +400,9 @@ then rm -f "refs/remotes/$origin/HEAD" git-symbolic-ref "refs/remotes/$origin/HEAD" \ "refs/remotes/$origin/$head_points_at" - esac + esac && + git-repo-config branch."$head_points_at".remote "$origin" && + git-repo-config branch."$head_points_at".merge "refs/heads/$head_points_at" esac case "$no_checkout" in |