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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




  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
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux