* Git crash on different versions, including current
@ 2015-08-29 8:41 Christian Soltenborn
2015-08-31 13:45 ` Johannes Schindelin
0 siblings, 1 reply; 3+ messages in thread
From: Christian Soltenborn @ 2015-08-29 8:41 UTC (permalink / raw)
To: git
Hi everybody,
today I ran into a git issue on Windows 7/64. My directory structure
looks like this, and I wondered why the content of a dir wouldn't get added.
C:\Users\chris\git\GoogleTestExtension
-- .git
-- ConsoleApplication1 (new)
----- gtest-1.7.0 dir (does not get added)
----- stuff that has been successfully added
-- more stuff that's already under git control
So here's about what I did:
- Looked at it with Git Gui, noticed that gtest-1.7.0 is a submodule
- Deleted gtest-1.7.0/.git
- performed git add --all . within the gtest-1.7.0 dir => crash, output
below
- installed git 2.5.0
- uninstalled git 1.9.1
- deleted lock file
- performed git add --all . within the gtest-1.7.0 dir => crash, output
below
I could provide the according dir for reproducing the issue (I will now
zip it for reference) - if anybody is interested, drop me an email.
All the best
Christian
Output with git 1.9.1:
C:\Users\chris\git\GoogleTestExtension\ConsoleApplication1\gtest-1.7.0>git
add --all .
A
This application has requested the Runtime to terminate it in an unusual
way.
Please contact the application's support team for more information.
Assertion failed: item->nowildcard_len <= item->len && item->prefix <=
item->len, file pathspec.c, line 317
Output with git 2.5.0:
C:\Users\chris\git\GoogleTestExtension\ConsoleApplication1\gtest-1.7.0>git
add --all .
This application has requested the Runtime to terminate it in an unusual
way.
Please contact the application's support team for more information.
A s s e r t i o n f a i l e d !
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
4 \ b i n \ g i t . e x e
F i l e : p a t h s p e c . c , L i n e 3 1 7
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 < =
i t e m - > l e n & & i t e m - > p r e f i x < = i t e m - > l
e n--
Dylan Thomas: "An alcoholic is someone you don't like who drinks as much
as you do."
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Git crash on different versions, including current
2015-08-29 8:41 Git crash on different versions, including current Christian Soltenborn
@ 2015-08-31 13:45 ` Johannes Schindelin
2015-09-01 20:32 ` Christian Soltenborn
0 siblings, 1 reply; 3+ messages in thread
From: Johannes Schindelin @ 2015-08-31 13:45 UTC (permalink / raw)
To: Christian Soltenborn; +Cc: git
Hi Christian,
On 2015-08-29 10:41, Christian Soltenborn wrote:
> today I ran into a git issue on Windows 7/64. My directory structure
> looks like this, and I wondered why the content of a dir wouldn't get added.
>
> C:\Users\chris\git\GoogleTestExtension
> -- .git
> -- ConsoleApplication1 (new)
> ----- gtest-1.7.0 dir (does not get added)
> ----- stuff that has been successfully added
> -- more stuff that's already under git control
>
> So here's about what I did:
> - Looked at it with Git Gui, noticed that gtest-1.7.0 is a submodule
> - Deleted gtest-1.7.0/.git
> - performed git add --all . within the gtest-1.7.0 dir => crash, output
> below
If you copy the entire `GoogleTestExtension` folder somewhere else, does the crash happen there, still? Can you share a .zip of this folder?
Ciao,
Johannes
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Git crash on different versions, including current
2015-08-31 13:45 ` Johannes Schindelin
@ 2015-09-01 20:32 ` Christian Soltenborn
0 siblings, 0 replies; 3+ messages in thread
From: Christian Soltenborn @ 2015-09-01 20:32 UTC (permalink / raw)
To: Johannes Schindelin; +Cc: git
Hi Johannes,
> If you copy the entire `GoogleTestExtension` folder somewhere else,
does the crash happen there, still? Can you share a .zip of this folder?
Ciao, Johannes
I just unzipped the folder to C: and tried again, and it indeed still
crashes. Which is probably good news, because it shouldn't be too hard
for you guys to reproduce the issue :-)
I will upload the zip file in a minute and drop you a private email -
it's not exactly secret stuff, but I feel better this way. Feel free to
share the zip with other git developers, but please don't make it
publicly available somewhere. Thanks...
Final note: My workaround was to move the gtest folder somewhere else,
commit the outgoing single "gtest deleted" dir, move the dir back to its
original place, add all (which worked fine) and finally committed.
All the best,
Christian
--
H.L. Mencken: "Say what you will about the Ten Commandments, you must
always come back to the pleasant fact that there are only ten of them."
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-09-01 20:33 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-29 8:41 Git crash on different versions, including current Christian Soltenborn
2015-08-31 13:45 ` Johannes Schindelin
2015-09-01 20:32 ` Christian Soltenborn
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 NNTP newsgroup(s).