Re: [BUG] (minor) "git status ." reports added files as untracked

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Matthieu Moy <Matthieu.Moy@xxxxxxx> 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, 

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.

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux