Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Commit 01f0811

Browse files
committed
fixup! Windows: Always normalize paths to Windows-style
1 parent 75c8664 commit 01f0811

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

git-sh-setup.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -304,8 +304,10 @@ case $(uname -s) in
304304
find () {
305305
/usr/bin/find "$@"
306306
}
307-
# Let pwd always return the uniqe real windows path
308-
alias pwd='pwd -W'
307+
# git sees Windows-style pwd
308+
pwd () {
309+
builtin pwd -W
310+
}
309311
is_absolute_path () {
310312
case "$1" in
311313
[/\\]* | [A-Za-z]:*)

0 commit comments

Comments
 (0)