Re: [PATCH] grep: simple test for operation in a bare repository
- From
René Scharfe <rene.scharfe@lsrfire.ath.cx>
- Date
- Feb 3, 2010, 23:50 UTC
- Message-ID
- <4B6A0BDE.2050908@lsrfire.ath.cx>
- In-Reply-To
- <4B69BD7C.4010608@lsrfire.ath.cx>
Am 03.02.2010 19:16, schrieb René Scharfe:
> Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx> > --- > t/t7002-grep.sh | 17 +++++++++++++++++ > 1 files changed, 17 insertions(+), 0 deletions(-)
Err, no, that won't do. Sorry.
The test script fails to demonstrate the issue I've run into. It runs successfully, but running git grep manually fails:
$ cd t/trash\ directory.t7002-grep/.git/bare_test_repo/ $ git grep bla HEAD fatal: This operation must be run in a work tree
I have to dig a bit deeper and try to come back with a better test script.
René