Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'rj/sh-setup-mswin-pwd'
author
Junio C Hamano
<gitster@pobox.com>
Mon, 23 Apr 2012 20:01:46 +0000
(13:01 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 23 Apr 2012 20:01:46 +0000
(13:01 -0700)
By Ramsay Jones
* rj/sh-setup-mswin-pwd:
git-sh-setup.sh: Add an pwd() function for MinGW
git-sh-setup.sh
patch
|
blob
|
history
raw
(from parent 1:
e7779c2
)
diff --git
a/git-sh-setup.sh
b/git-sh-setup.sh
index 5d8e4e6c89f0471567a7aa1f07b054d8ac502e15..7b3ae75d7a631fb07404ab85fa6d43ada74d8512 100644
(file)
--- a/
git-sh-setup.sh
+++ b/
git-sh-setup.sh
@@
-248,6
+248,10
@@
case $(uname -s) in
find () {
/usr/bin/find "$@"
}
+ # git sees Windows-style pwd
+ pwd () {
+ builtin pwd -W
+ }
is_absolute_path () {
case "$1" in
[/\\]* | [A-Za-z]:*)