Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-01-09 23:04:30 +0300
committerJunio C Hamano <junkio@cox.net>2007-01-09 23:04:30 +0300
commit240897e908e48e8f8c8d5555522afe255b3b734b (patch)
tree3dc44694521cd6cde6752907140beff90e3395d6 /builtin-apply.c
parent1295228d1fdda17c2ef62e712649c962c3da5eb7 (diff)
parent6534141151f7fd4334f62827d9234acf3974ca4d (diff)
Merge branch 'maint'
* maint: Fix "Do not ignore a detected patchfile brokenness." Do not ignore a detected patchfile brokenness.
Diffstat (limited to 'builtin-apply.c')
-rw-r--r--builtin-apply.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/builtin-apply.c b/builtin-apply.c
index 1c35837068..38a9fdd808 100644
--- a/builtin-apply.c
+++ b/builtin-apply.c
@@ -811,7 +811,8 @@ static int find_header(char *line, unsigned long size, int *hdrsize, struct patc
struct fragment dummy;
if (parse_fragment_header(line, len, &dummy) < 0)
continue;
- error("patch fragment without header at line %d: %.*s", linenr, (int)len-1, line);
+ die("patch fragment without header at line %d: %.*s",
+ linenr, (int)len-1, line);
}
if (size < len + 6)