convert: rename the "eol" global variable to "core_eol"
[gitweb.git] / convert.c
index 7eb51b16ed03e650f3af11383c5c43c00d7d9812..4dba329e5048c4b33fc814bb946fff4b337d39f0 100644 (file)
--- a/convert.c
+++ b/convert.c
@@ -113,10 +113,10 @@ static enum eol determine_output_conversion(enum action action)
                        return EOL_CRLF;
                else if (auto_crlf == AUTO_CRLF_INPUT)
                        return EOL_LF;
-               else if (eol == EOL_UNSET)
+               else if (core_eol == EOL_UNSET)
                        return EOL_NATIVE;
        }
-       return eol;
+       return core_eol;
 }
 
 static void check_safe_crlf(const char *path, enum action action,