ls-remote and clone: accept --upload-pack=<path> as well.
authorJunio C Hamano <junkio@cox.net>
Tue, 23 Jan 2007 08:51:53 +0000 (00:51 -0800)
committerJunio C Hamano <junkio@cox.net>
Thu, 25 Jan 2007 00:12:15 +0000 (16:12 -0800)
commitae1dffcb28ee89a23f8d2747be65e17c8eab1690
tree669b709d9699b1da49dbeb69813c33b44707c56f
parent27dca07fb77f6f5851e3a8de54f86c803358caa4
ls-remote and clone: accept --upload-pack=<path> as well.

This makes them consistent with other commands that take the
path to the upload-pack program.  We also pass --upload-pack
instead of --exec to the underlying fetch-pack, although it is
not strictly necessary.

[jc: original motivation from Uwe]

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