Fix lapsus in builtin-apply.c

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Pierre Habouzit 2007-09-18 12:12:58 +02:00 committed by Junio C Hamano
parent 5c633a4cbe
commit 3d845d7763

View file

@ -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++;