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

Re: [PATCH] Make Git accept absolute path names for files within the work tree

From
Robin Rosenberg <robin.rosenberg@dewire.com>
Date
Nov 27, 2007, 23:14 UTC
Message-ID
<200711280014.55114.robin.rosenberg@dewire.com>
In-Reply-To
<474BD90C.5020102@viscovery.net>
tisdag 27 november 2007 skrev Johannes Sixt:
Show 9 quoted lines
> Robin Rosenberg schrieb:
> > +test_expect_success 'add files using absolute path names' '
> > +echo a >afile &&
> > +echo b >bfile &&
> > +git-add afile &&
> > +git-add $(pwd)/bfile &&
> 
> Please use "$(pwd)/bfile" (d-quotes) throughout. Otherwise the test would 
> fail if conducted in a directory with spaces.

AFAIK, None of the tests works in directories with spaces. But I'll fix it, just in case, so noone can blame /me/ for the tests breaking in /my home/. I cannot verify it because the testing infrastructure breaks before the actual tests start executing.

-- robin
Previous: Johannes Sixt
Message 10 of 10 in “Make Git accept absolute path names for files within the work tree”
  1. Make Git accept absolute path names for files within the work treeRobin Rosenberg, Nov 26, 2007
  2. Junio C HamanoNov 27, 2007
  3. Robin RosenbergNov 27, 2007
  4. Make Git accept absolute path names for files within the work treeRobin Rosenberg, Nov 27, 2007
  5. Junio C HamanoNov 28, 2007
  6. Robin RosenbergNov 29, 2007
  7. Junio C HamanoNov 29, 2007
  8. Junio C HamanoNov 29, 2007
  9. Johannes SixtNov 27, 2007
  10. Robin RosenbergNov 27, 2007

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.