diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-05-16 10:36:01 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-05-16 10:44:04 -0700 |
commit | 10587ce6dfb479cf4930657e173b673031deaa06 (patch) | |
tree | 29d9fad99ef041bf457c01b7caff3ac4e273d1c5 /compat/winansi.c | |
parent | git-sh-setup.sh: Add an pwd() function for MinGW (diff) | |
download | tgif-10587ce6dfb479cf4930657e173b673031deaa06.tar.xz |
git-sh-setup: define workaround wrappers before they are used
Recently we tweaked this scriptlet to let mingw port redefine "pwd" to
always return Windows-style path, but the code to do so came after the
first use of "pwd" to set up $GIT_DIR shell variable.
Move the block to define these workaround wrappers, so that everything
everything that executes when the scriptlet is dot-sourced uses the
replacements.
Noticed-by: Ramsay Jones
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/winansi.c')
0 files changed, 0 insertions, 0 deletions