author | Junio C Hamano <gitster@pobox.com> | |
Mon, 9 May 2011 19:52:12 +0000 (12:52 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 9 May 2011 21:58:52 +0000 (14:58 -0700) | ||
commit | ec70f52f6fb6d3e08c7b24f8b5bf25502d8ee59b | |
tree | 7345be535b44a0f7e50fb863fadf2107b9822ff0 | tree | snapshot |
parent | 4e3aa87d13b339fa678cd3cb7f23664d3a48fb21 | commit | diff |
convert: rename the "eol" global variable to "core_eol"
Yes, it is clear that "eol" wants to mean some sort of end-of-line thing,
but as the name of a global variable, it is way too short to describe what
kind of end-of-line thing it wants to represent. Besides, there are many
codepaths that want to use their own local "char *eol" variable to point
at the end of the current line they are processing.
This global variable holds what we read from core.eol configuration
variable. Name it as such.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Yes, it is clear that "eol" wants to mean some sort of end-of-line thing,
but as the name of a global variable, it is way too short to describe what
kind of end-of-line thing it wants to represent. Besides, there are many
codepaths that want to use their own local "char *eol" variable to point
at the end of the current line they are processing.
This global variable holds what we read from core.eol configuration
variable. Name it as such.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
cache.h | diff | blob | history | |
config.c | diff | blob | history | |
convert.c | diff | blob | history | |
environment.c | diff | blob | history |