summaryrefslogtreecommitdiff
path: root/Documentation/git-repack.txt
diff options
context:
space:
mode:
authorLibravatar Johannes Sixt <j6t@kdbg.org>2011-06-06 09:06:02 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-06-06 11:35:06 -0700
commit06bc4b796ad69ba93f0a8c451368602e0553c2d3 (patch)
treec3134457df1903f61b973273f0e0114f544afa83 /Documentation/git-repack.txt
parentsh-i18n--envsubst: do not crash when no arguments are given (diff)
downloadtgif-06bc4b796ad69ba93f0a8c451368602e0553c2d3.tar.xz
mingw.c: move definition of mingw_getenv down
We want to use static lookup_env() in a subsequent change. At first sight, this change looks innocent. But it is not due to the #undef getenv. There is one caller of getenv between the old location and the new location whose behavior could change. But as can be seen from the defintion of mingw_getenv, the behavior for this caller does not change substantially. To ensure consistent behavior in the future, change all getenv callers in mingw.c to use mingw_getenv. With this patch, this is not a big deal, yet, but with the subsequent change, where we teach getenv to do a case-sensitive lookup, the behavior of all call sites is changed. Signed-off-by: Johannes Sixt <j6t@kdbg.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-repack.txt')
0 files changed, 0 insertions, 0 deletions