git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
From: "brian m. carlson" <sandals@crustytoothpaste.net>
To: "Celestino, Federico" <Celestino@xcmg-erc.com>
Cc: "git@vger.kernel.org" <git@vger.kernel.org>
Subject: Re: .gitignore alleged bug
Date: Sat, 23 Feb 2019 00:23:39 +0000	[thread overview]
Message-ID: <20190223002339.GA601925@genre.crustytoothpaste.net> (raw)
In-Reply-To: <b23df617fddf45389406da2360dceb63@SRV-ERC-MAIL01.XCMG-ERC.LOCAL>

[-- Attachment #1: Type: text/plain, Size: 1030 bytes --]

On Fri, Feb 22, 2019 at 03:39:53PM +0000, Celestino, Federico wrote:
> Dear Support Team,
> 
> I am facing a serious issue with .gitignore (see attachment).
> 
> The problem is that the folder contents of 04 - Software/SW Code/STM32/Lib/Drivers/CMSIS/Device/ are ignored because of a suspected misinterpretation of .gitignore.
> 
> Here are some results that you could find useful:
> 
> $ git clean -ndX
> Would remove 04 - Software/SW Code/STM32/Lib/Drivers/CMSIS/Device/
> 
> $ git check-ignore -v "04 - Software/SW Code/STM32/Lib/Drivers/CMSIS/Device/"
> 04 - Software/SW Code/STM32/Lib/Drivers/CMSIS/.gitignore:2:Device       04 - Software/SW Code/STM32/Lib/Drivers/CMSIS/Device/
> 
> Since in the path there is no '~' (tilde) character, it seems a bug to me.

It looks like you have a .gitignore file in the "CMSIS" directory that
contains the string "Device", which is why this directory is ignored. Is
that indeed the case?
-- 
brian m. carlson: Houston, Texas, US
OpenPGP: https://keybase.io/bk2204

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 868 bytes --]

  reply	other threads:[~2019-02-23  0:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-22 15:39 .gitignore alleged bug Celestino, Federico
2019-02-23  0:23 ` brian m. carlson [this message]
2019-02-25  7:38   ` Celestino, Federico

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=20190223002339.GA601925@genre.crustytoothpaste.net \
    --to=sandals@crustytoothpaste.net \
    --cc=Celestino@xcmg-erc.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.
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).