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

Re: git and gitweb inconsistencies

From
SVSven Verdoolaege <skimo@kotnet.org>
Date
Oct 23, 2005, 18:28 UTC
Message-ID
<20051023182800.GH8383MdfPADPa@greensroom.kotnet.org>
In-Reply-To
<20051023173055.GA3019@pe.Belkin>
On Sun, Oct 23, 2005 at 01:30:55PM -0400, Chris Shoemaker wrote:
> I foolishly assumed that the second time I ran git-cvsimport, with -C
> /pub/scm/project/ it would be able to detect that I was using the
> stand-alone GIT-DIR.  But, it obviously didn't.  I guess the solution
> is use specify GIT_DIR everytime I run git-cvstimport.

Since many of the core git tools try to detect the actual git dir, it might not be a bad idea for cvsimport to do this as well. It probably also shouldn't create a new git repository if the -i option has been specified.

> So, it seems that git-web.cgi detects and prefers the stand-alone
> directory structure, because I specify it in the projects_list file,
> while git-cat-file, and git-update-ref default to using .git.
gitweb just sets GIT_DIR and then the core git tools won't guess.
skimo
Previous: Chris Shoemaker
Message 4 of 4 in “git and gitweb inconsistencies”
  1. Chris ShoemakerOct 23, 2005
  2. Sven VerdoolaegeOct 23, 2005
  3. Chris ShoemakerOct 23, 2005
  4. Sven VerdoolaegeOct 23, 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.