mirror of
https://github.com/git/git
synced 2024-08-24 18:26:02 +00:00
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:
parent
5c633a4cbe
commit
3d845d7763
|
@ -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++;
|
||||
|
|
Loading…
Reference in a new issue