1. Stefan Saasen
  2. git

Commits

Pierre Habouzit  committed 3d845d7

Fix lapsus in builtin-apply.c

Signed-off-by: Pierre Habouzit <madcoder@debian.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>

  • Participants
  • Parent commits 5c633a4
  • Branches master

Comments (0)

Files changed (1)

File builtin-apply.c

View file
  • Ignore whitespace
 		if (name) {
 			char *cp = name;
 			while (p_value) {
-				cp = strchr(name, '/');
+				cp = strchr(cp, '/');
 				if (!cp)
 					break;
 				cp++;