All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Eddy Petrișor" <eddy.petrisor@gmail.com>
To: git@vger.kernel.org
Subject: Re: [BUG] (minor) "git status ." reports added files as untracked
Date: Wed, 26 Mar 2008 23:07:57 +0000 (UTC)	[thread overview]
Message-ID: <loom.20080326T225201-965@post.gmane.org> (raw)
In-Reply-To: 7v7ihkjtvg.fsf@gitster.siamese.dyndns.org

Junio C Hamano <gitster <at> pobox.com> writes:

> 
> Matthieu Moy <Matthieu.Moy <at> imag.fr> writes:
> 
> > Indeed, I've always considered the fact that "git status ." reports
> > untracked files outside the current directory as a bug, but I'm not
> > sure whether this is intended or not.
> 
> It is intended.
> 
> "git status $args" was designed as "show me what happens if I
> ran 'git commit $args' now", and because a commit is a whole
> tree operation, 

I am reopening/continuing this thread since, I also have an issue with this
behaviour of git status.

As I said in my report in the Debian BTS
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=471313) I do see the point
(from a user PoV) of such a behavior of "git status ." .

Of course, "git status" is another matter and is really OK to behave like is
does, but "git status ." is only a duplicate of the former with no special
meaning, while (I feel) most people would see it really pointless, undesired and
unexpected to behave like it does now.

I really think "git status ." should limit the search below the current dir,
while "git status" should keep its current meaning.

> It is a different matter if the intention matches the
> expectation you picked up from somewhere on how "scm status"
> should work (it most likely doesn't).  It also is a different
> matter if it is justifiable to have such a mismatch.

I think it is justifiable, and I think is an improvement from a user (interface)
PoV.

TIA.

[1] btw, git status --blabla shows what seems to be git-commit's help

      parent reply	other threads:[~2008-03-26 23:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-04 17:19 [BUG] (minor) "git status ." reports added files as untracked Matthieu Moy
2008-02-04 21:26 ` Junio C Hamano
2008-02-05  6:08   ` Matthieu Moy
2008-03-26 23:07   ` Eddy Petrișor [this message]

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=loom.20080326T225201-965@post.gmane.org \
    --to=eddy.petrisor@gmail.com \
    --cc=git@vger.kernel.org \
    /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 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.