aboutsummaryrefslogtreecommitdiff
path: root/http-push.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-02-28 14:18:57 -0800
committerJunio C Hamano <junkio@cox.net>2007-02-28 14:18:57 -0800
commit1db8b60b2a6ef0cc0f7cc7d0783b7cda2ce894ca (patch)
tree1d5433fb0c0a74e1478962daaba65b2ced03a43e /http-push.c
parentd0d8e14d1bad5f5ad3fb27a6ac819ff4e7006f03 (diff)
parenta1367d1219439fef8e82e546cbe742910231e5b3 (diff)
downloadgit-1db8b60b2a6ef0cc0f7cc7d0783b7cda2ce894ca.tar.gz
git-1db8b60b2a6ef0cc0f7cc7d0783b7cda2ce894ca.tar.xz
Merge branch 'maint'
* maint: Start preparing Release Notes for 1.5.0.3 Documentation: git-remote add [-t <branch>] [-m <branch>] [-f] name url Include config.mak in doc/Makefile git.el: Set the default commit coding system from the repository config. git-archimport: support empty summaries, put summary on a single line. http-push.c::lock_remote(): validate all remote refs. git-cvsexportcommit: don't cleanup .msg if not yet committed to cvs.
Diffstat (limited to 'http-push.c')
-rw-r--r--http-push.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/http-push.c b/http-push.c
index 0fd73dbf5..68b78b538 100644
--- a/http-push.c
+++ b/http-push.c
@@ -1295,7 +1295,7 @@ static struct remote_lock *lock_remote(const char *path, long timeout)
sprintf(url, "%s%s", remote->url, path);
/* Make sure leading directories exist for the remote ref */
- ep = strchr(url + strlen(remote->url) + 11, '/');
+ ep = strchr(url + strlen(remote->url) + 1, '/');
while (ep) {
*ep = 0;
slot = get_active_slot();