{"thread":{"id":"50563","subject":".gitignore alleged bug","startedAt":"2019-02-22T15:39:42Z","lastAt":"2019-02-25T07:38:42Z","messageCount":3,"participants":["Celestino, Federico","brian m. carlson"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"369931","messageId":"b23df617fddf45389406da2360dceb63@SRV-ERC-MAIL01.XCMG-ERC.LOCAL","threadId":"50563","inReplyTo":null,"subject":".gitignore alleged bug","fromName":"Celestino, Federico","fromEmail":"celestino@xcmg-erc.com","sentAt":"2019-02-22T15:39:53Z","receivedAt":"2019-02-22T15:39:42Z","isPatch":false,"sender":{"key":"celestino@xcmg-erc.com","avatar":null},"body":"Dear Support Team,\n\nI am facing a serious issue with .gitignore (see attachment).\n\nThe 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.\n\nHere are some results that you could find useful:\n\n$ git clean -ndX\nWould remove 04 - Software/SW Code/STM32/Lib/Drivers/CMSIS/Device/\n\n$ git check-ignore -v \"04 - Software/SW Code/STM32/Lib/Drivers/CMSIS/Device/\"\n04 - Software/SW Code/STM32/Lib/Drivers/CMSIS/.gitignore:2:Device       04 - Software/SW Code/STM32/Lib/Drivers/CMSIS/Device/\n\nSince in the path there is no '~' (tilde) character, it seems a bug to me.\n\nGit version: 2.20.1.windows.1\n\nFreundliche Grüße / Kind regards\ni.A. Federico Celestino\nEntwicklungsingenieur\n\n\nFon +49 2151 7830 324\nFax +49 2151 7830 499\nwww.xcmg-erc.com\nCelestino@xcmg-erc.com\n\n------------------------------------------------------------------------------------\nXCMG European Research Center GmbH\nEuropark Fichtenhain B4\n47807 Krefeld\nDeutschland\nAmtsgericht Krefeld\nHandelsregister HRB 14302\nGeschäftsführer: Dr.-Ing. Oliver-Carlos Göhler, Dr.-Ing. Hui Sun \n------------------------------------------------------------------------------------ \n"},{"id":"370003","messageId":"20190223002339.GA601925@genre.crustytoothpaste.net","threadId":"50563","inReplyTo":"b23df617fddf45389406da2360dceb63@SRV-ERC-MAIL01.XCMG-ERC.LOCAL","subject":"Re: .gitignore alleged bug","fromName":"brian m. carlson","fromEmail":"sandals@crustytoothpaste.net","sentAt":"2019-02-23T00:23:39Z","receivedAt":"2019-02-23T00:23:49Z","isPatch":false,"sender":{"key":"sandals@crustytoothpaste.net","avatar":"https://avatars.githubusercontent.com/u/497054?v=4"},"body":"On Fri, Feb 22, 2019 at 03:39:53PM +0000, Celestino, Federico wrote:\n> Dear Support Team,\n> \n> I am facing a serious issue with .gitignore (see attachment).\n> \n> 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.\n> \n> Here are some results that you could find useful:\n> \n> $ git clean -ndX\n> Would remove 04 - Software/SW Code/STM32/Lib/Drivers/CMSIS/Device/\n> \n> $ git check-ignore -v \"04 - Software/SW Code/STM32/Lib/Drivers/CMSIS/Device/\"\n> 04 - Software/SW Code/STM32/Lib/Drivers/CMSIS/.gitignore:2:Device       04 - Software/SW Code/STM32/Lib/Drivers/CMSIS/Device/\n> \n> Since in the path there is no '~' (tilde) character, it seems a bug to me.\n\nIt looks like you have a .gitignore file in the \"CMSIS\" directory that\ncontains the string \"Device\", which is why this directory is ignored. Is\nthat indeed the case?\n-- \nbrian m. carlson: Houston, Texas, US\nOpenPGP: https://keybase.io/bk2204\n"},{"id":"370106","messageId":"f8697f8e02614842b35931346c2d81e7@SRV-ERC-MAIL01.XCMG-ERC.LOCAL","threadId":"50563","inReplyTo":"20190223002339.GA601925@genre.crustytoothpaste.net","subject":"RE: .gitignore alleged bug","fromName":"Celestino, Federico","fromEmail":"celestino@xcmg-erc.com","sentAt":"2019-02-25T07:38:50Z","receivedAt":"2019-02-25T07:38:42Z","isPatch":false,"sender":{"key":"celestino@xcmg-erc.com","avatar":null},"body":"Dear Mr Carlson,\n\nYes, you are right. Thanks for the support.\n\nFreundliche Grüße / Kind regards\ni.A. Federico Celestino\nEntwicklungsingenieur\n\n\nFon +49 2151 7830 324\nFax +49 2151 7830 499\nwww.xcmg-erc.com\nCelestino@xcmg-erc.com\n\n------------------------------------------------------------------------------------\nXCMG European Research Center GmbH\nEuropark Fichtenhain B4\n47807 Krefeld\nDeutschland\nAmtsgericht Krefeld\nHandelsregister HRB 14302\nGeschäftsführer: Dr.-Ing. Oliver-Carlos Göhler, Dr.-Ing. Hui Sun \n------------------------------------------------------------------------------------ \n-----Original Message-----\nFrom: brian m. carlson [mailto:sandals@crustytoothpaste.net] \nSent: 23 February 2019 01:24\nTo: Celestino, Federico <Celestino@xcmg-erc.com>\nCc: git@vger.kernel.org\nSubject: Re: .gitignore alleged bug\n\nOn Fri, Feb 22, 2019 at 03:39:53PM +0000, Celestino, Federico wrote:\n> Dear Support Team,\n> \n> I am facing a serious issue with .gitignore (see attachment).\n> \n> 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.\n> \n> Here are some results that you could find useful:\n> \n> $ git clean -ndX\n> Would remove 04 - Software/SW Code/STM32/Lib/Drivers/CMSIS/Device/\n> \n> $ git check-ignore -v \"04 - Software/SW Code/STM32/Lib/Drivers/CMSIS/Device/\"\n> 04 - Software/SW Code/STM32/Lib/Drivers/CMSIS/.gitignore:2:Device       04 - Software/SW Code/STM32/Lib/Drivers/CMSIS/Device/\n> \n> Since in the path there is no '~' (tilde) character, it seems a bug to me.\n\nIt 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?\n--\nbrian m. carlson: Houston, Texas, US\nOpenPGP: https://keybase.io/bk2204\n"}]}