git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Constantine Plotnikov <constantine.plotnikov@gmail.com>
To: Git Mailing List <git@vger.kernel.org>
Subject: "git ls-files -i" does not shows ignored files on Windows
Date: Tue, 26 May 2009 21:36:40 +0400	[thread overview]
Message-ID: <85647ef50905261036u2d3c00c9lcf0df8f29de051ef@mail.gmail.com> (raw)

I have encountered a strange problem on Windows (cygwin git 1.6.1.2
and msys git version 1.6.2.2.1669.g7eaf8).

Lets execute the following sequence of commands:

git init
echo a >.gitignore
echo test >a
git ls-files -i --exclude-standard

The last command in the sequence gives an empty output. But "git
status" and "git ls-files -o --exclude-standard" show only
".gitignore" file as untracked. So the file "a" is considered as
ignored by git, but it is not displayed in output "git ls-files -i
--exclude-standard".

Does the bug happen on other platforms and versions of git?

Regards,
Constantine

             reply	other threads:[~2009-05-26 17:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-26 17:36 Constantine Plotnikov [this message]
2009-05-27  3:37 ` "git ls-files -i" does not shows ignored files on Windows Sitaram Chamarty

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=85647ef50905261036u2d3c00c9lcf0df8f29de051ef@mail.gmail.com \
    --to=constantine.plotnikov@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 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).