failing tests

larsh at hjemli.net larsh at hjemli.net
Thu Jul 21 14:40:55 CEST 2011


On Thu, Jul 21, 2011 at 02:34:08PM +0200, Ferry Huberts wrote:
> On 07/21/2011 01:23 PM, larsh at hjemli.net wrote:
> > 
> > [The mailing list software tends to remove attachments, but as list
> > admin I got it anyways]
> > 
> > Looking at your trash/tmp, it seems that the line
> > 
> >   root=$(cd trash/repos/foo && git rev-list --reverse HEAD | head -1)
> > 
> > in t0105-commit.sh actually returns two lines: the absolute path of the
> > foo test repo followed by a newline and the root commit sha1.
> > 
> 
> ahh, a little bell is now ringing.
> I've seen this before: I have CDPATH set...

Ah, the infamous CDPATH. I've never used it myself, so didn't know it
had this side-effect.


> Adding a simple 'unset CDPATH' to setup.sh fixes the issue...
> shall I send a patch?

Yes please.

--
larsh




More information about the CGit mailing list