summaryrefslogtreecommitdiff
path: root/url.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2012-05-16 10:36:01 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-05-16 10:44:04 -0700
commit10587ce6dfb479cf4930657e173b673031deaa06 (patch)
tree29d9fad99ef041bf457c01b7caff3ac4e273d1c5 /url.c
parentgit-sh-setup.sh: Add an pwd() function for MinGW (diff)
downloadtgif-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 'url.c')
0 files changed, 0 insertions, 0 deletions