From: Thomas Koch <thomas@koch.ro>
To: git@vger.kernel.org
Subject: git ignore logic does not work as advertised
Date: Sat, 15 Jun 2013 18:18:46 +0200 [thread overview]
Message-ID: <1766682.Es1SNxTkk2@x121e> (raw)
Hi,
I'm using vcsh[1] to have my dotfiles in GIT. With that I use a .gitignore file
referenced by core.excludesfile that looks like this:
# ignore everything by default
*
# but do not ignore emacs stuff
!.emacs.d/
# but than again please ignore backup files inside the .emacs.d folder
.emacs.d/backups
Now I'd expect git status to show everything in .emacs.d but not to show
.emacs.d/backups. However the .emacs.d/backups folder is still shown in git
status. I'd say that this is not in line with the man page and might be
considered a bug.
[1] https://github.com/RichiH/vcsh
Thank you,
Thomas Koch, http://www.koch.ro
next reply other threads:[~2013-06-15 16:48 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-06-15 16:18 Thomas Koch [this message]
2013-06-15 17:07 ` git ignore logic does not work as advertised John Keeping
2013-06-16 8:58 ` Thomas Koch
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=1766682.Es1SNxTkk2@x121e \
--to=thomas@koch.ro \
--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).