Skip to content

Commit

Permalink
convert: CRLF_INPUT is a no-op in the output codepath
Browse files Browse the repository at this point in the history
Signed-off-by: Junio C Hamano <gitster@pobox.com>
  • Loading branch information
Junio C Hamano committed May 21, 2011
1 parent dd8e912 commit b0d9c69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion convert.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b0d9c69

Please sign in to comment.