From: "Rémi Vanicat" <vanicat@debian.org>
To: git Maling list <git@vger.kernel.org>
Subject: [Bug] git status -unormal -- 'foo[b]/' won't display content of 'foo[b]/
Date: Sun, 21 Sep 2014 20:04:08 +0200 [thread overview]
Message-ID: <87vbogq293.dlv@gmail.com> (raw)
Hello,
I found what look like a bug in git status:
`git status -unormal foo[b]/` won't output the content of the directory
foo[b] when `git status -unormal foo/` will output the content of the
directory foo:
$ mkdir 'foo[b]'
$ touch 'foo[b]/bar'
$ git status -unormal 'foo[b]/'
On branch master
Untracked files:
(use "git add <file>..." to include in what will be committed)
foo[b]/
nothing added to commit but untracked files present (use "git add" to track)
$ mkdir 'foo'
$ touch 'foo/bar'
$ git status -unormal 'foo/'
On branch master
Untracked files:
(use "git add <file>..." to include in what will be committed)
foo/bar
nothing added to commit but untracked files present (use "git add" to track)
The documentation of git status contain nothing about treating bracket
specially. Quoting the brackets do not solve the problem.
see https://github.com/magit/magit/issues/1512 for discussion about it
(in the case of git status --porcelain).
--
Rémi Vanicat
next reply other threads:[~2014-09-21 18:04 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-21 18:04 Rémi Vanicat [this message]
2014-09-21 19:52 ` [Bug] git status -unormal -- 'foo[b]/' won't display content of 'foo[b]/ Torsten Bögershausen
2014-09-22 1:24 ` Duy Nguyen
2014-09-22 13:01 ` Duy Nguyen
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=87vbogq293.dlv@gmail.com \
--to=vanicat@debian.org \
--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).