From: Junio C Hamano Date: Sun, 24 Jun 2007 06:39:01 GMT Subject: Re: [PATCH 1/2] Move the pick_author code to git-sh-setup Message-ID: <7v7ipt3lh6.fsf@assigned-by-dhcp.cox.net> In-Reply-To: Johannes Schindelin writes: > - set_author_env=`git show -s --pretty=raw --encoding="$encoding" "$use_commit" | > - LANG=C LC_ALL=C sed -ne "$pick_author_script"` > - eval "$set_author_env" > ... > + eval $(get_author_ident_from_commit "$use_commit") Are you sure about this part of the change? I suspect that you are losing IFS by not dq'ing the argument you give to the eval. #!/bin/sh test1 () { echo "$1=' d e'" } eval $(test1 A) eval "$(test1 B)" echo "A=$A" echo "B=$B"