diff options
Diffstat (limited to 'builtin-apply.c')
-rw-r--r-- | builtin-apply.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-apply.c b/builtin-apply.c index 42253e6a72..a874375e78 100644 --- a/builtin-apply.c +++ b/builtin-apply.c @@ -2313,7 +2313,7 @@ static int write_out_one_reject(struct patch *patch) */ 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) { |