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

[PATCH 0/3] resend/cleanup: Fix up subproject support

From
Linus Torvalds <torvalds@linux-foundation.org>
Date
Apr 13, 2007, 16:23 UTC
Message-ID
<Pine.LNX.4.64.0704130919070.28042@woody.linux-foundation.org>

This series of three patches is a *replacement* for the patch series of two patches (plus one-liner fixup) I sent yesterday.

It fixes the issue I noted with "git status" incorrectly claiming that a non-checked out subproject wasn't clean - that was just a total thinko in the code (we were checking the filesystem mode against S_IFDIRLNK, which obviously cannot work, since S_IFDIRLINK is a git-internal state, not a filesystem state).

It then re-sends the two patches on top of that, with the fix for checking out superprojects (we should *not* mess up any existing subproject directories, certainly not remove them - if we already have a directory in the place where we now want a subproject, we should leave it well alone!)

If you already applied the patches from yesterday (and my small fix), you already have the two latter ones - the only reason I added 1/3 to the front of the patch-queue is that it really is a fix, and it makes the commit commentary about a remaining bug in the patch I sent out yesterday go away.

		Linus
Next: Linus Torvalds
Message 1 of 4 in “resend/cleanup: Fix up subproject support”
  1. 0/3 resend/cleanup: Fix up subproject supportLinus Torvalds, Apr 13, 2007
  2. 1/3 Fix gitlink index entry filesystem matchingLinus Torvalds, Apr 13, 2007
  3. 2/3 Teach git list-objects logic to not follow gitlinksLinus Torvalds, Apr 13, 2007
  4. 3/3 Teach "git-read-tree -u" to check out submodules as a directoryLinus Torvalds, Apr 13, 2007

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.