Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
tests: factor out terminal handling from t7006
[gitweb.git]
/
git-am.sh
diff --git
a/git-am.sh
b/git-am.sh
index e7f008c7baae2ff484e16882e199b6b9d75195aa..9317b3893552fda9d3e4cbdbd0c66bf69bd633a9 100755
(executable)
--- a/
git-am.sh
+++ b/
git-am.sh
@@
-444,12
+444,12
@@
else
set x
first=
}
- case "$arg" in
- /*)
- set "$@" "$arg"
;;
- *)
- set "$@" "$prefix$arg"
;;
- esac
+ if is_absolute_path "$arg"
+ then
+ set "$@" "$arg"
+ else
+ set "$@" "$prefix$arg"
+ fi
done
shift
fi