git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Adam Roben <aroben@apple.com>
Date
Mar 31, 2008, 21:51 UTC
Message-ID
<47F15CDB.60109@apple.com>

I've noticed that "make test" fails if /path/to/git.git contains spaces, with the following error:

Show 8 quoted lines
> $ 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.

-Adam
Next: Bryan Donlan
Message 1 of 4 in “"make test" fails if /path/to/git.git contains spaces”
  1. Adam RobenMar 31, 2008
  2. Bryan DonlanMar 31, 2008
  3. Johannes SixtApr 1, 2008
  4. Bryan DonlanApr 3, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.