Signed-off-by: Eric Wong <normalperson@xxxxxxxx> --- 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 - : 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