diff options
author | Daniel Barkalow <barkalow@iabervon.org> | 2008-04-12 21:32:00 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-04-13 00:41:24 +0200 |
commit | 60e3aba9c3c99c40826c051d384e785935874962 (patch) | |
tree | 57e050ce7ae84244c09936e34c12e71f8c758942 /remote.c | |
parent | Merge branch 'maint-1.5.4' into maint (diff) | |
download | git-60e3aba9c3c99c40826c051d384e785935874962.tar.xz git-60e3aba9c3c99c40826c051d384e785935874962.zip |
Fix config key miscount in url.*.insteadOf
Also tighten test to require it to be correct.
Signed-off-by: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'remote.c')
-rw-r--r-- | remote.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -315,7 +315,7 @@ static int handle_config(const char *key, const char *value) } if (!prefixcmp(key, "url.")) { struct rewrite *rewrite; - name = key + 5; + name = key + 4; subkey = strrchr(name, '.'); if (!subkey) return 0; |