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 1e75088118
commit 9d210efdfa

View File

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