Re: "make test" fails if /path/to/git.git contains spaces

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

 



On Mon, Mar 31, 2008 at 5:51 PM, Adam Roben <aroben@xxxxxxxxx> wrote:
> I've noticed that "make test" fails if /path/to/git.git contains spaces,
>  with the following error:
>
>  > $ make test
>  > make -C t/ all
>  > make[1]: Entering directory `/home/Adam Roben/dev/git/t'
>  > *** t0000-basic.sh ***
>  > * error: cannot run git init -- have you built things yet?
>  > make[1]: *** [t0000-basic.sh] Error 1
>  > make[1]: Leaving directory `/home/Adam Roben/dev/git/t'
>  > make: *** [test] Error 2
>
>  This is a very common configuration on Cygwin, but clearly not a common
>  configuration for git developers, or else this error would have been
>  corrected already.
>
>  Do we want to support having spaces in your path? It doesn't seem hard
>  to fix, but it does seem like the kind of problem that will come up over
>  and over again if only a very small set of people have this configuration.

Turns out that while trying to fix the tests, I've found that
git-rebase doesn't like a $VISUAL having spaces, so perhaps this
should be tested more often :) Or should we just require $VISUAL have
no spaces?

I'll send a patch once I've got everything passing.

Thanks,

Bryan
--
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