Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
update-index: test the system before enabling untracked cache
[gitweb.git]
/
builtin
/
apply.c
diff --git
a/builtin/apply.c
b/builtin/apply.c
index 525db4a2a237fa0b12a254fd72b86dcd66738e93..65b97eee69d4814bf80f87b1fd6857b8ed80cb90 100644
(file)
--- a/
builtin/apply.c
+++ b/
builtin/apply.c
@@
-1601,6
+1601,9
@@
static int parse_fragment(const char *line, unsigned long size,
if (!deleted && !added)
leading++;
trailing++;
+ if (!apply_in_reverse &&
+ ws_error_action == correct_ws_error)
+ check_whitespace(line, len, patch->ws_rule);
break;
case '-':
if (apply_in_reverse &&