aboutsummaryrefslogtreecommitdiff
path: root/builtin-apply.c
diff options
context:
space:
mode:
authorPierre Habouzit <madcoder@debian.org>2007-09-18 12:12:58 +0200
committerJunio C Hamano <gitster@pobox.com>2007-09-18 14:09:12 -0700
commit3d845d77639a8f91b9774b830d1a2d986a791489 (patch)
treeb743dfca4c08fdd3f7d0908a6065786dbf7429e7 /builtin-apply.c
parent5c633a4cbeb95fc86c9b3e6126749cf34a2691b5 (diff)
downloadgit-3d845d77639a8f91b9774b830d1a2d986a791489.tar.gz
git-3d845d77639a8f91b9774b830d1a2d986a791489.tar.xz
Fix lapsus in builtin-apply.c
Signed-off-by: Pierre Habouzit <madcoder@debian.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-apply.c')
-rw-r--r--builtin-apply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-apply.c b/builtin-apply.c
index 5ad371424..bd969778e 100644
--- a/builtin-apply.c
+++ b/builtin-apply.c
@@ -254,7 +254,7 @@ static char *find_name(const char *line, char *def, int p_value, int terminate)
if (name) {
char *cp = name;
while (p_value) {
- cp = strchr(name, '/');
+ cp = strchr(cp, '/');
if (!cp)
break;
cp++;