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

Re: tried submodules and corrupted repo

From
TKThomas Koch <thomas@koch.ro>
Date
Aug 12, 2008, 12:42 UTC
Message-ID
<200808121442.14990.thomas@koch.ro>
Am Dienstag 12 August 2008 10:09:38 schrieben Sie:
Show 24 quoted lines
> Hi,
>
> in my trial to use a submodule, it seems that I messed up my repo.
>
> I've put both repos at
> http://git.koch.ro
> clone url is
> http://git.koch.ro/git/REPONAME
>
> I wanted to have the git-php-wrapper repo as a submodule inside wigit,
> which did not work at all. I always ended up with a git-php-wrapper
> subdir and a .git inside it, but no workdir files.
>
> Now I wanted to start from scratch, to clone wigit again to my local
> machine. But when I try
> git clone http://git.koch.ro/git/wigit
> it says:
> Initialized empty Git repository in /var/checkouts/wigit/.git/
> warning: remote HEAD refers to nonexistent ref, unable to checkout.
>
> Is there a way to resque my wigit repo? And how to get the submodule
> working afterwards?
>
> Best regards,

It seems that all my problems araised, because I did not set up my GIT repo server properly. I forgot to make post-commit executable which runs git-update-server-info.

Sorry for the noise.
-- 
Thomas Koch, Software Developer
http://www.koch.ro

Young Media Concepts GmbH
Sonnenstr. 4
CH-8280 Kreuzlingen
Switzerland

Tel    +41 (0)71 / 508 24 86
Fax    +41 (0)71 / 560 53 89
Mobile +49 (0)170 / 753 89 16
Web    www.ymc.ch
Message 1 of 1 in “Re: tried submodules and corrupted repo”
  1. Thomas KochAug 12, 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.