From: "Uwe Kleine-König" <ukleinek@informatik.uni-freiburg.de>
To: git@vger.kernel.org
Subject: [PATCH] Use --upload-pack in clone, fetch and ls-remote instead of --exec
Date: Tue, 23 Jan 2007 09:24:37 +0100 [thread overview]
Message-ID: <20070123082437.GA10053@cepheus> (raw)
In-Reply-To: <20070123082017.GA10007@cepheus>
Signed-off-by: Uwe Kleine-König <ukleinek@informatik.uni-freiburg.de>
---
I don't like the change to git-fetch.sh. But currently git-fetch-pack
needs a = and ls-remote doesn't like it. So it continues to have two
variables for the remote upload program.
git-clone.sh | 2 +-
git-fetch.sh | 2 +-
git-ls-remote.sh | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/git-clone.sh b/git-clone.sh
index 0f7bbbf..d652c00 100755
--- a/git-clone.sh
+++ b/git-clone.sh
@@ -163,7 +163,7 @@ while
1,-u|1,--upload-pack) usage ;;
*,-u|*,--upload-pack)
shift
- upload_pack="--exec=$1" ;;
+ upload_pack="--upload-pack=$1" ;;
1,--depth) usage;;
*,--depth)
shift
diff --git a/git-fetch.sh b/git-fetch.sh
index 87b940b..2279991 100755
--- a/git-fetch.sh
+++ b/git-fetch.sh
@@ -34,7 +34,7 @@ do
--upl|--uplo|--uploa|--upload|--upload-|--upload-p|\
--upload-pa|--upload-pac|--upload-pack)
shift
- exec="--exec=$1"
+ exec="--upload-pack=$1"
upload_pack="-u $1"
;;
-f|--f|--fo|--for|--forc|--force)
diff --git a/git-ls-remote.sh b/git-ls-remote.sh
index 03b624e..e9e79e2 100755
--- a/git-ls-remote.sh
+++ b/git-ls-remote.sh
@@ -23,7 +23,7 @@ do
-u|--u|--up|--upl|--uploa|--upload|--upload-|--upload-p|--upload-pa|\
--upload-pac|--upload-pack)
shift
- exec="--exec=$1"
+ exec="--upload-pack=$1"
shift;;
--)
shift; break ;;
--
1.5.0.rc1.g581a
--
Uwe Kleine-König
http://www.google.com/search?q=2004+in+roman+numerals
next prev parent reply other threads:[~2007-01-23 8:24 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-01-19 12:43 [PATCH] Update documentation of fetch-pack, push and send-pack Uwe Kleine-König
2007-01-19 12:46 ` [PATCH] make --exec=... option to git-push configurable Uwe Kleine-König
2007-01-19 12:49 ` [RFC PATCH] rename --exec to --receive-pack for push and send-pack Uwe Kleine-König
2007-01-19 19:22 ` [PATCH] Update documentation of fetch-pack, " Junio C Hamano
2007-01-23 8:20 ` [PATCH] rename --exec to --upload-pack for fetch-pack and peek-remote Uwe Kleine-König
2007-01-23 8:24 ` Uwe Kleine-König [this message]
2007-01-23 8:40 ` [PATCH] Use --upload-pack in clone, fetch and ls-remote instead of --exec Junio C Hamano
2007-01-23 9:25 ` Junio C Hamano
2007-01-23 14:05 ` Uwe Kleine-König
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20070123082437.GA10053@cepheus \
--to=ukleinek@informatik.uni-freiburg.de \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).