git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
APAndy Parkins <andyparkins@gmail.com>
Date
May 20, 2010, 18:01 UTC
Message-ID
<201005201901.49853.andyparkins@gmail.com>
In-Reply-To
<4BF57635.9090409@web.de>
On Thursday 20 May 2010 18:49:41 Jens Lehmann wrote:
Show 9 quoted lines
> Am 20.05.2010 19:45, schrieb Andy Parkins:
> > (Most of my
> > personal use of submodule is embedding large projects that I want to be
> > able to guarantee are at a particular version, but I don't really
> > change them)
> 
> But to guarantee they are at a particular version they have to be checked
> for local modifications (no matter if they happened accidentally or on
> purpose), no?
A valid point.

Surely though in my own .git/config I can be allowed to tell git that I don't care about that risk?

I've got a top level module that used to diff/status instantly; now git scans an entire Linux kernel checkout and an entire ffmpeg checkout. Painful. I fully accept that it was my own choice to arrange my repository in this way, but in my defence, it was fine last week :-)

Andy
-- 
Dr Andy Parkins
andyparkins@gmail.com
Previous: Jens LehmannNext: Nguyen Thai Ngoc Duy
Message 7 of 16 in “git-status and git-diff now very slow in project with a submodule”
  1. Andy ParkinsMay 20, 2010
  2. Stefan NaeweMay 20, 2010
  3. Andy ParkinsMay 20, 2010
  4. Michael J GruberMay 20, 2010
  5. Andy ParkinsMay 20, 2010
  6. Jens LehmannMay 20, 2010
  7. Andy ParkinsMay 20, 2010
  8. Nguyen Thai Ngoc DuyMay 21, 2010
  9. Junio C HamanoMay 20, 2010
  10. Andy ParkinsMay 20, 2010
  11. Junio C HamanoMay 20, 2010
  12. Jens LehmannMay 21, 2010
  13. Leo RazoumovMay 21, 2010
  14. Andreas SchwabMay 21, 2010
  15. Jens LehmannMay 22, 2010
  16. Jens LehmannMay 22, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.