[PATCH v2 1/1] tests: fix failures when CDPATH is set

larsh at hjemli.net larsh at hjemli.net
Thu Jul 21 14:52:33 CEST 2011


On Thu, Jul 21, 2011 at 02:43:54PM +0200, Ferry Huberts wrote:
> From: Ferry Huberts <ferry.huberts at pelagic.nl>
> 
> Some tests would otherwise fail because commands such as
>   cd trash/repos/foo && git rev-list --reverse HEAD | head -1
> would return 2 lines instead of 1: the 'cd' command also
> prints the path when CDPATH is set.
> 
> Signed-off-by: Ferry Huberts <ferry.huberts at pelagic.nl>

Thanks. Applied to stable and pushed out.

--
larsh




More information about the CGit mailing list