diff options
author | Junio C Hamano <junkio@cox.net> | 2007-02-28 14:18:57 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-02-28 14:18:57 -0800 |
commit | 1db8b60b2a6ef0cc0f7cc7d0783b7cda2ce894ca (patch) | |
tree | 1d5433fb0c0a74e1478962daaba65b2ced03a43e /http-push.c | |
parent | index_fd(): convert blob only if it is a regular file. (diff) | |
parent | Start preparing Release Notes for 1.5.0.3 (diff) | |
download | tgif-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/http-push.c b/http-push.c index 0fd73dbf58..68b78b538a 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(); |