All of lore.kernel.org
 help / color / mirror / Atom feed
* Problem with --work-tree
@ 2008-08-16 21:14 Сергей Шарыбин
  2008-08-17  5:24 ` Nguyen Thai Ngoc Duy
  2008-08-18  9:32 ` Michael J Gruber
  0 siblings, 2 replies; 3+ messages in thread
From: Сергей Шарыбин @ 2008-08-16 21:14 UTC (permalink / raw)
  To: git

Hi,

I've got the following problem. I've got a GIT repo at 
/home/nazgul/src/test-work-tree and I've got some changed files in this 
repo. I want to see this changes when a `git` runs outside this 
directory. I tried to run `git 
--git-dir=/home/nazgul/src/test-work-tree/.git 
--work-tree=/home/nazgul/src/test-work-tree diff-index --name-status 
HEAD` from my home directory. In such way diff-index tells me that all 
files from my repo has been deleted. I think it is because this command 
does not understand a --work-tree parameter. And I saw the same problem 
with a git diff command (something like that: git 
--git-dir=/home/nazgul/src/test-work-tree/.git 
--work-tree=/home/nazgul/src/test-work-tree diff).

I use git version debian.1.5.6.3.1

Is it my mistake or it is bugs in a GIT?

-- 
With best regards, Sergey I. Sharybin

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-08-18  9:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-16 21:14 Problem with --work-tree Сергей Шарыбин
2008-08-17  5:24 ` Nguyen Thai Ngoc Duy
2008-08-18  9:32 ` Michael J Gruber

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.