diff options
author | Junio C Hamano <junkio@cox.net> | 2006-03-22 00:52:36 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-03-22 00:52:36 -0800 |
commit | ac5a85181ac18b0119705f46cfa825389643df33 (patch) | |
tree | b282a1490b15e837973307514c615eee7fe180f5 | |
parent | d293b281276ea6c160ed9589cbf06a44698158e2 (diff) | |
parent | 4c2e98d6ce47aa9fcc1598c68e630f371cd4f8cb (diff) | |
download | git-ac5a85181ac18b0119705f46cfa825389643df33.tar.gz git-ac5a85181ac18b0119705f46cfa825389643df33.tar.xz |
Merge branch 'jc/clone' into next
* jc/clone:
git-clone: typofix.
-rwxr-xr-x | git-clone.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/git-clone.sh b/git-clone.sh index 5953e18a5..688732197 100755 --- a/git-clone.sh +++ b/git-clone.sh @@ -370,14 +370,14 @@ then Pull: refs/heads/$head_points_at:refs/$origin_tracking" && case "$use_separate_remote" in t) git-update-ref HEAD "$head_sha1" ;; - *) git-update-ref "refs/$origin" $(git-rev-parse HEAD) ;; + *) git-update-ref "refs/heads/$origin" $(git-rev-parse HEAD) ;; esac && (cd "$GIT_DIR/$remote_top" && find . -type f -print) | while read dotslref do name=`expr "$dotslref" : './\(.*\)'` && test "$head_points_at" = "$name" || - test "$origin" = "$head" || + test "$origin" = "$name" || echo "Pull: refs/heads/${name}:$remote_top/${name}" done >>"$GIT_DIR/remotes/$origin" && case "$use_separate_remote" in |