Subject: Re: [PATCH 4/4] filter-branch: fix variable export logic

From: Paolo Bonzini <[email-masked]>
Date: Wed, 14 May 2008 11:33:50 +0200

>   if test -n "$ORIG_GIT_DIR"
>   then
>     ...
>   fi
> 
> would be even clearer, though I'm not sure if "-n" has any portability
> concerns.

It has not.  Some autoconf scripts do

   if test "x$ORIG_GIT_DIR" != x; then
     ...
   fi

(and similarly for -z) but that's being phased out.

Paolo