git-fetch: adjust to packed-refs.
authorJunio C Hamano <junkio@cox.net>
Sun, 1 Oct 2006 07:42:40 +0000 (00:42 -0700)
committerJunio C Hamano <junkio@cox.net>
Sun, 1 Oct 2006 07:42:40 +0000 (00:42 -0700)
commitfbc72799a82bb9a25657a6e30bfcd7b8fe3e5a45
tree3c142925662ed7d4f0a5e56b16c6d0654bcc01b7
parent12f9b8a3152ff9fa48464187a83f7c6279fe5094
git-fetch: adjust to packed-refs.

The command checked the presence of a ref by directly looking
into $GIT_DIR/refs directory.  Update it to use show-ref.

Signed-off-by: Junio C Hamano <junkio@cox.net>
git-fetch.sh