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

Re: tracking a file from another project in my own project

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 22, 2008, 09:20 UTC
Message-ID
<7v7ii2rzbq.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<20080122093546.72db8da0@synchrotron-soleil.Fr>
picca <picca@synchrotron-soleil.Fr> writes:
> This way all strbug bugs corrected in git.git will be apply
> automatically to my own project.

If I were you I'd probably just keep git.git as a submodule in your project and have two symlinks from your toplevel pointing at git.git/strbuf.[ch] (or from src/ to ../git.git/strbuf.[ch]).

Or "merge -s subtree".
Previous: piccaNext: picca
Message 2 of 6 in “tracking a file from another project in my own project”
  1. piccaJan 22, 2008
  2. Junio C HamanoJan 22, 2008
  3. piccaJan 22, 2008
  4. Jakub NarebskiJan 22, 2008
  5. Sergei OrganovJan 22, 2008
  6. Jakub NarebskiJan 22, 2008

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.