From: Jeff King <peff@peff.net>
To: Johannes Sixt <j6t@kdbg.org>
Cc: Alexander Kostikov <alex.kostikov@gmail.com>,
Git List <git@vger.kernel.org>
Subject: Re: Status shows untracked directory without any untracked file in it
Date: Fri, 6 Apr 2012 17:59:56 -0400 [thread overview]
Message-ID: <20120406215956.GA31207@sigill.intra.peff.net> (raw)
In-Reply-To: <4F7F3CBB.8030805@kdbg.org>
On Fri, Apr 06, 2012 at 08:58:03PM +0200, Johannes Sixt wrote:
> Am 06.04.2012 07:19, schrieb Alexander Kostikov:
> >How that is possible? Is it a bug?
>
> I don't think so. git status normally does not look inside
> directories that do not contain any tracked files.
I think it does:
$ git init tmp && cd tmp
$ echo content >tracked
$ git add tracked
$ mkdir untracked
$ git status --untracked-files=normal
# On branch master
#
# Initial commit
#
# Changes to be committed:
# new file: tracked
#
$ >untracked/file
$ git status --untracked-files=normal
# On branch master
#
# Initial commit
#
# Changes to be committed:
# new file: tracked
#
# Untracked files:
# untracked/
-Peff
prev parent reply other threads:[~2012-04-06 22:00 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-06 5:19 Status shows untracked directory without any untracked file in it Alexander Kostikov
2012-04-06 6:14 ` Jeff King
[not found] ` <CAGAhT3nmOtZLusT8DXy9iWQsNkH2Pqc3YCf-22FZJ-fhHf38cw@mail.gmail.com>
2012-04-06 22:04 ` Jeff King
2012-04-06 18:58 ` Johannes Sixt
2012-04-06 21:59 ` Jeff King [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=20120406215956.GA31207@sigill.intra.peff.net \
--to=peff@peff.net \
--cc=alex.kostikov@gmail.com \
--cc=git@vger.kernel.org \
--cc=j6t@kdbg.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 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).