This patch makes git-clone add a remote.origin.push line, using the new ":" special refspec. This is useful in the following patches that modify the behavior of "git push"; right now, it only adds clarity. Signed-off-by: Paolo Bonzini <bonzini@xxxxxxx> --- git-clone.sh | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/git-clone.sh b/git-clone.sh index 2636159..7a5570a 100755 --- a/git-clone.sh +++ b/git-clone.sh @@ -480,6 +480,8 @@ then # Set up the mappings to track the remote branches. git config remote."$origin".fetch \ "+refs/heads/*:$remote_top/*" '^$' && + git config remote."$origin".push \ + ":" '^$' && # Write out remote.$origin config, and update our "$head_points_at". case "$head_points_at" in -- 1.5.5 -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html