Re: git-status and git-diff now very slow in project with a submodule

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jens Lehmann
Date: Saturday, May 22, 2010 - 5:05 am

Am 21.05.2010 19:54, schrieb Andreas Schwab:

Hm, but that would mean newly added files would never show up again
(the same .gitignore is used by the developers of that submodule when
they do work on it). So I wouldn't add *.c to .gitignore either ...

But I don't consider it a "waste of time" to get the .gitignore
straight for pretty much the same reasons I want to see no warnings
during compilation: So i can instantly see when something fishy
might be going on. I consider that a "best practice" instead.

And for those projects where you can't or don't want to change the
.gitignore: Just ignore when "git status" tells you a submodule has
"untracked content" (it shows that information since 9297f7).
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: git-status and git-diff now very slow in project with ..., Michael J Gruber, (Thu May 20, 8:52 am)
Re: git-status and git-diff now very slow in project with ..., Nguyen Thai Ngoc Duy, (Fri May 21, 5:36 am)
Re: git-status and git-diff now very slow in project with ..., Jens Lehmann, (Sat May 22, 5:05 am)