git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Should 'git status' understand a .git containing "gitdir: dir"?
@ 2011-06-30  9:04 Eric Raible
  2011-06-30 11:46 ` [RFC] status - don't show gitdir Fredrik Gustafsson
  2011-06-30 15:49 ` Should 'git status' understand a .git containing "gitdir: dir"? Junio C Hamano
  0 siblings, 2 replies; 5+ messages in thread
From: Eric Raible @ 2011-06-30  9:04 UTC (permalink / raw)
  To: git@vger.kernel.org, Junio C Hamano

The following sequence sets up a trivial repo that uses "gitdir:":

$ git init gitdir-test
$ cd gitdir-test
$ mv .git real-git-dir
$ echo "gitdir: real-git-dir" > .git
$ git status

Fine so far.  But git-status shows that "real-git-dir" is untracked:

$ git status -sb
## Initial commit on master
?? real-git-dir/

Which strikes one as a bit inconsistent (since other pars of git-status
knows to look in real-git-dir to find the index).

Sorry - no time to investigate.

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

end of thread, other threads:[~2011-06-30 16:49 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-30  9:04 Should 'git status' understand a .git containing "gitdir: dir"? Eric Raible
2011-06-30 11:46 ` [RFC] status - don't show gitdir Fredrik Gustafsson
2011-06-30 12:32   ` Nguyen Thai Ngoc Duy
2011-06-30 15:49 ` Should 'git status' understand a .git containing "gitdir: dir"? Junio C Hamano
2011-06-30 16:48   ` Eric Raible

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).