Signed-off-by: Eric Wong <normalperson@yhbt.net> --- git-clone.sh | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) be2db2344099b3713c1136e84bab7390b6198895 diff --git a/git-clone.sh b/git-clone.sh index 4ed861d..a8ab7fd 100755 --- a/git-clone.sh +++ b/git-clone.sh @@ -249,6 +249,12 @@ Pull: $head_points_at:$origin" && test "$origin" = "$head" || echo "Pull: ${head}:${head}" done >>"$GIT_DIR/remotes/origin" + (test -d "$GIT_DIR"/refs/remotes && cd "$GIT_DIR" && + find "refs/remotes" -type f -print | sed -e 's|^refs/||') | + while read ref + do + echo "Pull: $ref:$ref" + done >>"$GIT_DIR/remotes/origin" esac case "$no_checkout" in -- 1.2.4.ga2910 - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.htmlReceived on Thu Mar 09 22:56:58 2006
This archive was generated by hypermail 2.1.8 : 2006-03-09 22:57:40 EST