git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* .gitignore alleged bug
@ 2019-02-22 15:39 Celestino, Federico
  2019-02-23  0:23 ` brian m. carlson
  0 siblings, 1 reply; 3+ messages in thread
From: Celestino, Federico @ 2019-02-22 15:39 UTC (permalink / raw)
  To: git@vger.kernel.org

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

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.

Git version: 2.20.1.windows.1

Freundliche Grüße / Kind regards
i.A. Federico Celestino
Entwicklungsingenieur


Fon +49 2151 7830 324
Fax +49 2151 7830 499
www.xcmg-erc.com
Celestino@xcmg-erc.com

------------------------------------------------------------------------------------
XCMG European Research Center GmbH
Europark Fichtenhain B4
47807 Krefeld
Deutschland
Amtsgericht Krefeld
Handelsregister HRB 14302
Geschäftsführer: Dr.-Ing. Oliver-Carlos Göhler, Dr.-Ing. Hui Sun 
------------------------------------------------------------------------------------ 

[-- Attachment #2: ATT44153.gitignore --]
[-- Type: application/octet-stream, Size: 413 bytes --]

*.aux
~*
*.o
*.d
*.obj
.xdchelp
Debug/
!Debug/*.map
!Debug/*.out
Release/
!Release/*.map
!Release/*.out
.config/
.launches/
*.ldb
04[[:space:]]-[[:space:]]Software/SW[[:space:]]Code/TMS570/Platforms/Native/Hercules/projects/SIL2_MCUST_Hercules_Lib/TMS570LS3137/Modules/source/*.pp
04[[:space:]]-[[:space:]]Software/SW[[:space:]]Code/TMS570/Platforms/Native/Hercules/lib/SIL2_MCUST_TMS570LS3137.lib

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: .gitignore alleged bug
  2019-02-22 15:39 .gitignore alleged bug Celestino, Federico
@ 2019-02-23  0:23 ` brian m. carlson
  2019-02-25  7:38   ` Celestino, Federico
  0 siblings, 1 reply; 3+ messages in thread
From: brian m. carlson @ 2019-02-23  0:23 UTC (permalink / raw)
  To: Celestino, Federico; +Cc: git@vger.kernel.org

[-- 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 --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: .gitignore alleged bug
  2019-02-23  0:23 ` brian m. carlson
@ 2019-02-25  7:38   ` Celestino, Federico
  0 siblings, 0 replies; 3+ messages in thread
From: Celestino, Federico @ 2019-02-25  7:38 UTC (permalink / raw)
  To: brian m. carlson; +Cc: git@vger.kernel.org

Dear Mr Carlson,

Yes, you are right. Thanks for the support.

Freundliche Grüße / Kind regards
i.A. Federico Celestino
Entwicklungsingenieur


Fon +49 2151 7830 324
Fax +49 2151 7830 499
www.xcmg-erc.com
Celestino@xcmg-erc.com

------------------------------------------------------------------------------------
XCMG European Research Center GmbH
Europark Fichtenhain B4
47807 Krefeld
Deutschland
Amtsgericht Krefeld
Handelsregister HRB 14302
Geschäftsführer: Dr.-Ing. Oliver-Carlos Göhler, Dr.-Ing. Hui Sun 
------------------------------------------------------------------------------------ 
-----Original Message-----
From: brian m. carlson [mailto:sandals@crustytoothpaste.net] 
Sent: 23 February 2019 01:24
To: Celestino, Federico <Celestino@xcmg-erc.com>
Cc: git@vger.kernel.org
Subject: Re: .gitignore alleged bug

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-02-25  7:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-22 15:39 .gitignore alleged bug Celestino, Federico
2019-02-23  0:23 ` brian m. carlson
2019-02-25  7:38   ` Celestino, Federico

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).