[prev in list] [next in list] [prev in thread] [next in thread]
List: git
Subject: [PATCH] transport.c: call dash-less form of receive-pack and
From: Johannes Schindelin <Johannes.Schindelin () gmx ! de>
Date: 2007-11-30 12:08:20
Message-ID: Pine.LNX.4.64.0711301207020.27959 () racer ! site
[Download RAW message or body]
Since we plan to move the dash-form (git-<whatever>) into an execdir, it
make sense to prepare our git protocol users for it.
Noticed by Eyvind Bernhardsen.
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
---
On Fri, 30 Nov 2007, Eyvind Bernhardsen wrote:
> - When pushing to my system over ssh, git-receive-pack and
> git-upload-pack are expected to be in $PATH. I resolved the
> problem by putting symlinks in /usr/local/bin.
How about this? (I only compile-tested it...)
transport.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/transport.c b/transport.c
index 50db980..7bd0846 100644
--- a/transport.c
+++ b/transport.c
@@ -736,10 +736,10 @@ struct transport *transport_get(struct remote *remote, const char *url)
ret->disconnect = disconnect_git;
data->thin = 1;
- data->uploadpack = "git-upload-pack";
+ data->uploadpack = "git upload-pack";
if (remote && remote->uploadpack)
data->uploadpack = remote->uploadpack;
- data->receivepack = "git-receive-pack";
+ data->receivepack = "git receive-pack";
if (remote && remote->receivepack)
data->receivepack = remote->receivepack;
}
--
1.5.3.6.2088.g8c260
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic