summaryrefslogtreecommitdiff
path: root/git-fetch.sh
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-01-26 18:11:06 -0800
committerJunio C Hamano <junkio@cox.net>2006-01-26 18:11:06 -0800
commit2796a9de31cb12d719c73695334ee873c5213d4a (patch)
tree4630739fa26fbdd027a19661765e11dec187cabd /git-fetch.sh
parent521698b1538fb3c9bd818ee98f2c17d2c80c9605 (diff)
downloadgit-2796a9de31cb12d719c73695334ee873c5213d4a.tar.gz
git-fetch --upload-pack: disambiguate.
Johannes noticed the recent addition of this new flag inadvertently took over existing --update-head-ok (-u). Require longer abbreviation to this new option which would be needed in a rare setup. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-fetch.sh')
-rwxr-xr-xgit-fetch.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-fetch.sh b/git-fetch.sh
index 6730346ba0..b4325d9d98 100755
--- a/git-fetch.sh
+++ b/git-fetch.sh
@@ -25,8 +25,8 @@ do
-a|--a|--ap|--app|--appe|--appen|--append)
append=t
;;
- -u|--u|--up|--upl|--uploa|--upload|--upload-|--upload-p|--upload-pa|\
- --upload-pac|--upload-pack)
+ --upl|--uplo|--uploa|--upload|--upload-|--upload-p|\
+ --upload-pa|--upload-pac|--upload-pack)
shift
exec="--exec=$1"
upload_pack="-u $1"