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

Re: [MERGE] Combine git-tools repository into example-tools/ subdirectory of git

From
Linus Torvalds <torvalds@osdl.org>
Date
Jul 16, 2005, 17:19 UTC
Message-ID
<Pine.LNX.4.58.0507161015230.19183@g5.osdl.org>
In-Reply-To
<20050716075553.GI20369@mythryan2.michonline.com>
On Sat, 16 Jul 2005, Ryan Anderson wrote:
> 
> Linus, it seems, well, odd to me that you maintain two different git
> trees.
Yes.
> So I used your example of the gittk merge to move git-tools into the
> main git-repository.

Fair enough. I was ready to pull your work, but it turns out that the old git-tools repository had things like directory entries with file mode 100775, so git-fsck-cache complains about it. I've already suppressed git-fsck-cache on mode 100664 (which exists in both the kernel and git archives), so I could have just added the other case, but I preferred to just make git-convert-cache convert it, and then pull in a _converted_ tools archive instead.

[ Side note: I'm actually happy by how git-convert-cache was still 100%
  functional.  I haven't touched it in a long time, and it's very intimate
  with the objects, so the fact that it still worked means that we haven't 
  screwed anything up in the object format ;]

I did mostly the same things you did, except I also dropped "stripspace", since I'd already copied it over to git (and it's now installed as "git-stripspace") earlier. And I just called the subdirectory "tools".

		Linus
Previous: Ryan Anderson
Message 2 of 2 in “[MERGE] Combine git-tools repository into example-tools/ subdirectory of git”
  1. Ryan AndersonJul 16, 2005
  2. Linus TorvaldsJul 16, 2005

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.