From: "René Scharfe" <rene.scharfe@lsrfire.ath.cx>
To: Git Mailing List <git@vger.kernel.org>
Cc: Junio C Hamano <gitster@pobox.com>
Subject: Re: [PATCH] grep: simple test for operation in a bare repository
Date: Thu, 04 Feb 2010 00:50:54 +0100 [thread overview]
Message-ID: <4B6A0BDE.2050908@lsrfire.ath.cx> (raw)
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é
next prev parent reply other threads:[~2010-02-03 23:51 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-02-03 18:16 [PATCH] grep: simple test for operation in a bare repository René Scharfe
2010-02-03 23:50 ` René Scharfe [this message]
2010-02-05 0:24 ` René Scharfe
2010-02-05 2:40 ` Nguyen Thai Ngoc Duy
2010-02-06 9:35 ` René Scharfe
2010-02-06 18:47 ` Junio C Hamano
2010-02-05 6:50 ` Junio C Hamano
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4B6A0BDE.2050908@lsrfire.ath.cx \
--to=rene.scharfe@lsrfire.ath.cx \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).