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

Re: multiple .gitignore and friends in same workdir possible?

From
KKKonrad Karl <kk_konrad@gmx.at>
Date
Apr 23, 2010, 18:29 UTC
Message-ID
<12580.8595716537$1272047426@news.gmane.org>
In-Reply-To
<4BD1C1F6.9070908@drmicha.warpmail.net>
On Fri, Apr 23, 2010 at 05:51:18PM +0200, Michael J Gruber wrote:
Show 16 quoted lines
> Konrad Karl venit, vidit, dixit 23.04.2010 17:03:
> > On Fri, Apr 23, 2010 at 04:50:21PM +0200, Michael J Gruber wrote:
> >> Konrad Karl venit, vidit, dixit 23.04.2010 16:32:
> >>> Hi
> >>>
> >>> On Fri, Apr 23, 2010 at 03:01:42PM +0200, Sverre Rabbelier wrote:
> .........
> > Because this information does not getting transfered with git clone.
> > 
> > People have the chance to forget to set this variable after cloning the
> > source repo and they will. 
> 
> ...and the same is true for setting GIT_DIR appropriately for each repo
> - people will commit to the wrong repo, which is even worse. That's why
> it's a fragile approach to begin with. Is there no chance you could put
> those libs in subdirs and use git modules?

the chance exists for the future but the existing build system does not support it (especially for older releases which I would like to be able to rebuild as is).

I think a script with a prominent name in the workdir which will set the git variable will be the next convenient solution which we can live with.

thanks for your input, Konrad

> 
> Michael
Previous: Michael J GruberNext: Konrad Karl
Message 6 of 9 in “Re: multiple .gitignore and friends in same workdir possible?”
  1. Sverre RabbelierApr 23, 2010
  2. Konrad KarlApr 23, 2010
  3. Michael J GruberApr 23, 2010
  4. Konrad KarlApr 23, 2010
  5. Michael J GruberApr 23, 2010
  6. Konrad KarlApr 23, 2010
  7. Konrad KarlApr 23, 2010
  8. Konrad KarlApr 23, 2010
  9. Konrad KarlApr 23, 2010

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.