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

Commit c132ea9

Browse files
committed
Merge pull request #175 from kasal/normalize-win-paths
fixup! Windows: Always normalize paths to Windows-style
2 parents 6070cee + 01f0811 commit c132ea9

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
@@ -306,8 +306,10 @@ case $(uname -s) in
306306
find () {
307307
/usr/bin/find "$@"
308308
}
309-
# Let pwd always return the uniqe real windows path
310-
alias pwd='pwd -W'
309+
# git sees Windows-style pwd
310+
pwd () {
311+
builtin pwd -W
312+
}
311313
is_absolute_path () {
312314
case "$1" in
313315
[/\\]* | [A-Za-z]:*)

0 commit comments

Comments
 (0)