Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
unpack_object_header(): make it public
[gitweb.git]
/
git-am.sh
diff --git
a/git-am.sh
b/git-am.sh
index f4db17d93424c18c1db53e9bf84cdeee8219fa10..6cdd5910db50c96df3d149fba172750cb10c09cb 100755
(executable)
--- a/
git-am.sh
+++ b/
git-am.sh
@@
-467,12
+467,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