summaryrefslogtreecommitdiff
path: root/remote.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2008-04-13 02:17:51 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-04-13 02:17:51 (GMT)
commitf43e2fd43b50d5a82a34bb3e4f848cb38bf93b7f (patch)
treeb29df95a9ea15dc54263921f63077c62058d6c22 /remote.c
parenta53f2ec617ba36a67bf8794d28d666d45ce374a6 (diff)
parent02604e293a3b7d48b0ce4e34149de8dc89c674e5 (diff)
downloadgit-f43e2fd43b50d5a82a34bb3e4f848cb38bf93b7f.zip
git-f43e2fd43b50d5a82a34bb3e4f848cb38bf93b7f.tar.gz
git-f43e2fd43b50d5a82a34bb3e4f848cb38bf93b7f.tar.bz2
Merge branch 'maint'
* maint: t7401: squelch garbage output Documentation/git-submodule: typofix Fix config key miscount in url.*.insteadOf Docs gitk: Explicitly mention the files that gitk uses (~/.gitk) Document -w option to shortlog bisect: report bad rev better
Diffstat (limited to 'remote.c')
-rw-r--r--remote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/remote.c b/remote.c
index 08af7f9..369dc33 100644
--- a/remote.c
+++ b/remote.c
@@ -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;