.gitignore alleged bug
- From
- Celestino, Federico <celestino@xcmg-erc.com>
- Date
- Feb 22, 2019, 15:39 UTC
- Message-ID
- <b23df617fddf45389406da2360dceb63@SRV-ERC-MAIL01.XCMG-ERC.LOCAL>
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 ------------------------------------------------------------------------------------