commit | 10587ce6dfb479cf4930657e173b673031deaa06 | [log] [tgz] |
---|---|---|
author | Junio C Hamano <gitster@pobox.com> | Wed May 16 10:36:01 2012 -0700 |
committer | Junio C Hamano <gitster@pobox.com> | Wed May 16 10:44:04 2012 -0700 |
tree | 29d9fad99ef041bf457c01b7caff3ac4e273d1c5 | |
parent | be39048a7385157e4b7baabd3e64fe186b428ea1 [diff] |
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>