[PATCH] Retire git-parse-remote.

Update git-pull to match updated git-fetch and allow pull to
fetch from multiple remote references.  There is no support for
resolving more than two heads, which will be done with "git
octopus".

Update "git ls-remote" to use git-parse-remote-script.

Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
Junio C Hamano
2005-08-20 02:57:26 -07:00
parent 853a3697dc
commit e0bfc81e05
4 changed files with 12 additions and 87 deletions

View File

@ -29,8 +29,8 @@ case ",$heads,$tags," in
,,,) heads=heads tags=tags other=other ;;
esac
. git-parse-remote "$1"
peek_repo="$_remote_repo"
. git-parse-remote-script
peek_repo="$(get_remote_url "$@")"
shift
tmp=.ls-remote-$$