Re: [PATCH] Make Git accept absolute path names for files within the work tree
- From
Johannes Sixt <j.sixt@viscovery.net>
- Date
- Nov 27, 2007, 08:45 UTC
- Message-ID
- <474BD90C.5020102@viscovery.net>
- In-Reply-To
- <1196119109-27483-1-git-send-email-robin.rosenberg@dewire.com>
Robin Rosenberg schrieb:
Show 5 quoted lines
> +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.
-- Hannes