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