Re: [PATCH] git-am --one
- From
- H. Peter Anvin <hpa@zytor.com>
- Date
- Dec 14, 2005, 01:47 UTC
- Message-ID
- <439F79B3.6000309@zytor.com>
- In-Reply-To
- <7vy82o5uss.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
Show 15 quoted lines
>
> I understand the motivation, but I suspect skipping mailsplit
> might be simpler, like this untested code perhaps?
>
> case "$one" in
> '')
> ... original code ...
> ;;
> *)
> one=`printf "%${prec}d" 1`
> cat "$@" >"$dotest/$one"
> echo "$one" >"$dotest/last"
> ;;
> esac
> If that works, great. I just implemented it in the "most obviously correct" way, meaning with as few changes as possible.
-hpa