Browse Source

convert: CRLF_INPUT is a no-op in the output codepath

Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Junio C Hamano 14 years ago
parent
commit
b0d9c69f5e
  1. 2
      convert.c

2
convert.c

@ -831,7 +831,7 @@ int can_bypass_conversion(const char *path) @@ -831,7 +831,7 @@ int can_bypass_conversion(const char *path)
return 0;

crlf_action = input_crlf_action(ca.crlf_action, ca.eol_attr);
if ((crlf_action == CRLF_BINARY) ||
if ((crlf_action == CRLF_BINARY) || (crlf_action == CRLF_INPUT) ||
(crlf_action == CRLF_GUESS && auto_crlf == AUTO_CRLF_FALSE))
return 1;
return 0;

Loading…
Cancel
Save