Re: Dropping core.worktree and GIT_WORK_TREE support (was Re: limiting relationship of git dir and worktree)
- From
Miklos Vajna <vmiklos@frugalware.org>
- Date
- Aug 25, 2008, 02:00 UTC
- Message-ID
- <20080825020054.GP23800@genesis.frugalware.org>
- In-Reply-To
- <7v7ia6j5q9.fsf_-_@gitster.siamese.dyndns.org>
On Sun, Aug 24, 2008 at 05:30:54PM -0700, Junio C Hamano <gitster@pobox.com> wrote:
> Heh, if we are to do the attention-getter, let's do so more strongly ;-)
Does this include removing of --work-tree as well?
The git backend of Pootle (http://translate.sourceforge.net/wiki/) uses it.
Also, here is a question:
$ git --git-dir git/.git --work-tree git diff --stat|tail -n 1 1443 files changed, 0 insertions(+), 299668 deletions(-)
So, it's like it thinks every file is removed.
But then:
$ cd git $ git diff --stat|wc -l 0
is this a bug, or a user error?
Thanks.