git-am: fix absolute path logic on Windows

This fixes t4150 on msysGit.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
This commit is contained in:
Johannes Schindelin
2010-04-07 23:14:00 +02:00
parent 0bc330ff9a
commit f0b93d438b

View File

@@ -444,7 +444,7 @@ else
first=
}
case "$arg" in
/*)
/*|?:*)
set "$@" "$arg" ;;
*)
set "$@" "$prefix$arg" ;;