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

Re: [PATCH 0/2] apply.c: a fix and an enhancement

From
Linus Torvalds <torvalds@osdl.org>
Date
Jul 22, 2005, 21:53 UTC
Message-ID
<Pine.LNX.4.58.0507221447420.6074@g5.osdl.org>
In-Reply-To
<7vhdempmgg.fsf@assigned-by-dhcp.cox.net>
On Fri, 22 Jul 2005, Junio C Hamano wrote:
> 
> And the file would obviously be per-project, so according to
> Pasky's suggestion that would be ".gitinfo/fake_parents" ;-).

I'd _really_ prefer to not have any preferences or other metadata files under version control within that same project.

If you want to version control them, that's fine, but don't tie the versioning to the main project itself. You can have a _separate_ git index, and a separate branch for the preferences and other metadata (but you can, if you want to, obviously share the .git directory contents and mix up the objects).

The thing is, different people might want to tie in these things different ways. For example, one thing this kind of "grafting" is useful for is to literally graft two different projects together, even if you may actually want to export them independently (ie you do _not_ want the graftign itself to be visible when you export it).

Think of something like a collection of projects, each under their own subdirectory. We could eventually literally make them _look_ like one big project, with cross-project commits grafted together, but they'd technically be totally independent (think "git" vs "gitk" - rather than having a very tight merge like I did, we could have tried to make it be a more virtual graft instead).

And personal preferences are just that - personal. I do _not_ want to have the kernel project history have things like "editor preferences" etc in the revision history - you might want to revision them, but that would be totally independent of the history of the project itself.

		Linus
Previous: Junio C HamanoNext: Santi Béjar
Message 8 of 16 in “apply.c: a fix and an enhancement”
  1. 0/2 apply.c: a fix and an enhancementJunio C Hamano, Jul 22, 2005
  2. Ryan AndersonJul 22, 2005
  3. Junio C HamanoJul 22, 2005
  4. Ryan AndersonJul 22, 2005
  5. A Large Angry SCMJul 22, 2005
  6. Linus TorvaldsJul 22, 2005
  7. Junio C HamanoJul 22, 2005
  8. Linus TorvaldsJul 22, 2005
  9. Santi BéjarJul 22, 2005
  10. Junio C HamanoJul 22, 2005
  11. Linus TorvaldsJul 22, 2005
  12. Petr BaudisJul 22, 2005
  13. Junio C HamanoJul 23, 2005
  14. Petr BaudisJul 22, 2005
  15. Linus TorvaldsJul 22, 2005
  16. Petr BaudisJul 22, 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.