{"thread":{"id":"40215","subject":"Git crash on different versions, including current","startedAt":"2015-08-29T08:41:45Z","lastAt":"2015-09-01T20:32:04Z","messageCount":3,"participants":["Christian Soltenborn","Johannes Schindelin"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"268887","messageId":"55E17049.8030706@soltenborn.de","threadId":"40215","inReplyTo":null,"subject":"Git crash on different versions, including current","fromName":"Christian Soltenborn","fromEmail":"christian@soltenborn.de","sentAt":"2015-08-29T08:41:45Z","receivedAt":"2015-08-29T08:41:45Z","isPatch":false,"sender":{"key":"christian@soltenborn.de","avatar":null},"body":"Hi everybody,\n\ntoday I ran into a git issue on Windows 7/64. My directory structure\nlooks like this, and I wondered why the content of a dir wouldn't get added.\n\nC:\\Users\\chris\\git\\GoogleTestExtension\n-- .git\n-- ConsoleApplication1 (new)\n----- gtest-1.7.0 dir (does not get added)\n----- stuff that has been successfully added\n-- more stuff that's already under git control\n\nSo here's about what I did:\n- Looked at it with Git Gui, noticed that gtest-1.7.0 is a submodule\n- Deleted gtest-1.7.0/.git\n- performed git add --all . within the gtest-1.7.0 dir => crash, output\nbelow\n- installed git 2.5.0\n- uninstalled git 1.9.1\n- deleted lock file\n- performed git add --all . within the gtest-1.7.0 dir => crash, output\nbelow\n\nI could provide the according dir for reproducing the issue (I will now\nzip it for reference) - if anybody is interested, drop me an email.\n\nAll the best\nChristian\n\n\n\nOutput with git 1.9.1:\n\nC:\\Users\\chris\\git\\GoogleTestExtension\\ConsoleApplication1\\gtest-1.7.0>git\nadd --all .\nA\nThis application has requested the Runtime to terminate it in an unusual\nway.\nPlease contact the application's support team for more information.\nAssertion failed: item->nowildcard_len <= item->len && item->prefix <=\nitem->len, file pathspec.c, line 317\n\n\n\nOutput with git 2.5.0:\n\nC:\\Users\\chris\\git\\GoogleTestExtension\\ConsoleApplication1\\gtest-1.7.0>git\nadd --all .\n\nThis application has requested the Runtime to terminate it in an unusual\nway.\nPlease contact the application's support team for more information.\nA s s e r t i o n   f a i l e d !\n\n P r o g r a m :   C : \\ P r o g r a m   F i l e s \\ G i t \\ m i n g w 6\n4 \\ b i n \\ g i t . e x e\n F i l e :   p a t h s p e c . c ,   L i n e   3 1 7\n\n E x p r e s s i o n :   i t e m - > n o w i l d c a r d _ l e n   < =\n i t e m - > l e n   & &   i t e m - > p r e f i x   < =   i t e m - > l\ne n--\nDylan Thomas: \"An alcoholic is someone you don't like who drinks as much\nas you do.\"\n"},{"id":"268989","messageId":"77acde26d3e0af558670ce430f24e21c@www.dscho.org","threadId":"40215","inReplyTo":"55E17049.8030706@soltenborn.de","subject":"Re: Git crash on different versions, including current","fromName":"Johannes Schindelin","fromEmail":"johannes.schindelin@gmx.de","sentAt":"2015-08-31T13:45:16Z","receivedAt":"2015-08-31T13:45:16Z","isPatch":false,"sender":{"key":"johannes.schindelin@gmx.de","avatar":"https://avatars.githubusercontent.com/u/127790?v=4"},"body":"Hi Christian,\n\nOn 2015-08-29 10:41, Christian Soltenborn wrote:\n\n> today I ran into a git issue on Windows 7/64. My directory structure\n> looks like this, and I wondered why the content of a dir wouldn't get added.\n> \n> C:\\Users\\chris\\git\\GoogleTestExtension\n> -- .git\n> -- ConsoleApplication1 (new)\n> ----- gtest-1.7.0 dir (does not get added)\n> ----- stuff that has been successfully added\n> -- more stuff that's already under git control\n> \n> So here's about what I did:\n> - Looked at it with Git Gui, noticed that gtest-1.7.0 is a submodule\n> - Deleted gtest-1.7.0/.git\n> - performed git add --all . within the gtest-1.7.0 dir => crash, output\n> below\n\nIf you copy the entire `GoogleTestExtension` folder somewhere else, does the crash happen there, still? Can you share a .zip of this folder?\n\nCiao,\nJohannes\n"},{"id":"269152","messageId":"55E60B44.1070407@soltenborn.de","threadId":"40215","inReplyTo":"77acde26d3e0af558670ce430f24e21c@www.dscho.org","subject":"Re: Git crash on different versions, including current","fromName":"Christian Soltenborn","fromEmail":"christian@soltenborn.de","sentAt":"2015-09-01T20:32:04Z","receivedAt":"2015-09-01T20:32:04Z","isPatch":false,"sender":{"key":"christian@soltenborn.de","avatar":null},"body":"Hi Johannes,\n\n> If you copy the entire `GoogleTestExtension` folder somewhere else,\ndoes the crash happen there, still? Can you share a .zip of this folder?\nCiao, Johannes\n\nI just unzipped the folder to C: and tried again, and it indeed still\ncrashes. Which is probably good news, because it shouldn't be too hard\nfor you guys to reproduce the issue :-)\n\nI will upload the zip file in a minute and drop you a private email -\nit's not exactly secret stuff, but I feel better this way. Feel free to\nshare the zip with other git developers, but please don't make it\npublicly available somewhere. Thanks...\n\nFinal note: My workaround was to move the gtest folder somewhere else,\ncommit the outgoing single \"gtest deleted\" dir, move the dir back to its\noriginal place, add all (which worked fine) and finally committed.\n\nAll the best,\nChristian\n\n\n-- \nH.L. Mencken: \"Say what you will about the Ten Commandments, you must\nalways come back to the pleasant fact that there are only ten of them.\"\n"}]}