Tower
Tower

Reputation: 102905

Git diffing crashes on Windows when submodules exist

Using msysgit on windows, whenever I do git diff on a repository that has a submodule or several, the command prompt (and also PowerShell) crash.

Is this a known but and is there a fix/workaround? Can I exclude submodules from diff?

Also:

PS Z:\www\gittest> git --version
git version 1.7.6.msysgit.0

EDIT: This has also been reported on the msysgit google group.

Upvotes: 4

Views: 559

Answers (2)

manojlds
manojlds

Reputation: 301337

I can't reproduce such issues with diff and submodules, but if you don't care about submodules diff, you can do:

git diff --ignore-submodules

Upvotes: 1

Related Questions