Thread (4 messages) flat view 4 messages, 4 authors, 2016-06-15

Re: Dropping core.worktree and GIT_WORK_TREE support (was Re: limiting relationship of git dir and worktree)

From: Miklos Vajna <hidden>
Date: 2016-06-15 22:45:13

On Sun, Aug 24, 2008 at 05:30:54PM -0700, Junio C Hamano [off-list ref] 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.

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help