简体   繁体   中英

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.

我不能用diff和子模块重现这些问题,但如果你不关心子模块diff,你可以这样做:

git diff --ignore-submodules

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM