projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8dde3e
)
git-sh-setup.sh: Add an pwd() function for MinGW
author
Ramsay Jones
<ramsay@ramsay1.demon.co.uk>
Tue, 17 Apr 2012 18:48:39 +0000
(19:48 +0100)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 18 Apr 2012 20:06:19 +0000
(13:06 -0700)
Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Acked-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-sh-setup.sh
patch
|
blob
|
history
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]:*)