git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: PANEL Christian <ch.panel@free.fr>
To: git@vger.kernel.org
Subject: git bug?
Date: Sat, 26 Sep 2020 19:57:09 +0200	[thread overview]
Message-ID: <1601143029.5937.10.camel@free.fr> (raw)

hello,

Using .git/info/exclude file to ignore some of my directories, I notice a curious think I took for a bug :

I wanted to exclude all except that is inside my /TED/ directory
I wrote a file exclude first as this


*
!/TED/


but this doesn't work and is dangerous because no warning, and git status said (after I realize commit and push on server)
working copy is clear.
fortunately looking at repository I realize the mistake and trying a "git add" tells me there is something wrong in the
exclude file
I changed it as this

/*
!/TED/

and it works
but I don't know exactly why 
Have you a begin of answer ?

thanks a lot in advance for any answer





             reply	other threads:[~2020-09-26 17:57 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-09-26 17:57 PANEL Christian [this message]
  -- strict thread matches above, loose matches on Subject: below --
2005-06-09  6:54 git bug? Jeff Garzik
2005-06-09  7:39 ` Jeff Garzik
     [not found] ` <7vy89kq96o.fsf@assigned-by-dhcp.cox.net>
2005-06-09  7:55   ` Junio C Hamano
2005-06-09  8:01     ` Jeff Garzik
2005-06-09  8:15       ` Junio C Hamano

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

  List information: http://vger.kernel.org/majordomo-info.html

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1601143029.5937.10.camel@free.fr \
    --to=ch.panel@free.fr \
    --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.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).