summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a2bf404)
raw | patch | inline | side by side (parent: a2bf404)
author | Junio C Hamano <junkio@cox.net> | |
Tue, 22 Aug 2006 22:49:28 +0000 (15:49 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Tue, 22 Aug 2006 22:49:28 +0000 (15:49 -0700) |
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-apply.c | patch | blob | history |
diff --git a/builtin-apply.c b/builtin-apply.c
index 42253e6a72379b49c1d562542245e176cba9c98a..a874375e7826ec6653dff94aad752c3cb6d17bb0 100644 (file)
--- a/builtin-apply.c
+++ b/builtin-apply.c
*/
fprintf(rej, "diff a/%s b/%s\t(rejected hunks)\n",
patch->new_name, patch->new_name);
- for (cnt = 0, frag = patch->fragments;
+ for (cnt = 1, frag = patch->fragments;
frag;
cnt++, frag = frag->next) {
if (!frag->rejected) {