path: root/http-push.c
diff options
authorJunio C Hamano <>2007-02-28 22:18:57 (GMT)
committerJunio C Hamano <>2007-02-28 22:18:57 (GMT)
commit1db8b60b2a6ef0cc0f7cc7d0783b7cda2ce894ca (patch)
tree1d5433fb0c0a74e1478962daaba65b2ced03a43e /http-push.c
parentd0d8e14d1bad5f5ad3fb27a6ac819ff4e7006f03 (diff)
parenta1367d1219439fef8e82e546cbe742910231e5b3 (diff)
Merge branch 'maint'
* maint: Start preparing Release Notes for 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')
1 files changed, 1 insertions, 1 deletions
diff --git a/http-push.c b/http-push.c
index 0fd73db..68b78b5 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();