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

Re: [gambit-list] Separating generated files? (Re: Mercurial -> git)

From
Michael J Gruber <git@drmicha.warpmail.net>
Date
Oct 15, 2008, 16:42 UTC
Message-ID
<48F61D77.3080100@drmicha.warpmail.net>
In-Reply-To
<vpqiqrt3mgs.fsf@bauges.imag.fr>
Matthieu Moy venit, vidit, dixit 15.10.2008 17:30:
Show 11 quoted lines
> "Nguyen Thai Ngoc Duy" <pclouds@gmail.com> writes:
> 
>> Hi Christian,
>>
>> The idea of using two separate repositories for source and generated
>> source is interesting. I would like to bring this to git mailing list,
>> they may provide insightul comments for your idea or even other
>> approaches.
> 
> I think the first question is: do you (and why) need to use a version
> control system for generated files?

I guess we can take "yes" for granted for the first part ;) As for the why: In cases like this one it's interesting to compare (read: diff) the output generated by different versions of the input.

I wonder whether a clever use of "excludes" and GIT_DIR would allow tracking the different filesets in the same dir, but using different repos. I'm just afraid it's a fragile setup, in the sense that it relies on config stuff which is not tracked (and thus not reproduced automatically on clone).

Michael
Previous: Matthieu MoyNext: Christian Jaeger
Message 3 of 9 in “Re: Separating generated files? (Re: Mercurial -> git)”
  1. Nguyen Thai Ngoc DuyOct 15, 2008
  2. Matthieu MoyOct 15, 2008
  3. Michael J GruberOct 15, 2008
  4. Christian JaegerOct 15, 2008
  5. Christian JaegerOct 16, 2008
  6. Santi BéjarOct 16, 2008
  7. Christian JaegerOct 16, 2008
  8. Santi BéjarOct 16, 2008
  9. Christian JaegerOct 15, 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.