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

Re: [BUG] Submodules problem with subdirectories and pushing

From
Frank Lichtenheld <frank@lichtenheld.de>
Date
Aug 13, 2009, 11:19 UTC
Message-ID
<20090813111933.GZ14475@mail-vs.djpig.de>
In-Reply-To
<20090813103231.GY14475@mail-vs.djpig.de>
On Thu, Aug 13, 2009 at 12:32:31PM +0200, Frank Lichtenheld wrote:
Show 16 quoted lines
> Hi.
> 
> I have a git repository where I include several submodules. This seemed to
> work fine until the server I push to got (finally) updated from 1.5.something
> to 1.6.4. Now I get an error if I try to push.
> 
> The issue is easily reproducible with a minimal repository for me:
> 
> Creating an empty repository on server:
> 
> flichtenheld@git-test:~$ git version
> git version 1.6.4    <---- Directly compiled from git
> flichtenheld@git-test:~$ mkdir test.git
> flichtenheld@git-test:~$ cd test.git/
> flichtenheld@git-test:~/test.git$ git init --bare
> Initialized empty Git repository in /home/flichtenheld/test.git/

Here is a "git config receive.fsckObjects true" missing. I have this in my default config, and without it the error will not be triggered.

Gruesse,
-- 
Frank Lichtenheld <frank@lichtenheld.de>
www: http://www.djpig.de/
Previous: Frank LichtenheldNext: Junio C Hamano
Message 2 of 9 in “[BUG] Submodules problem with subdirectories and pushing”
  1. Frank LichtenheldAug 13, 2009
  2. Frank LichtenheldAug 13, 2009
  3. Fix "unpack-objects --strict"Junio C Hamano, Aug 13, 2009
  4. Martin KoeglerAug 14, 2009
  5. Junio C HamanoAug 14, 2009
  6. Martin KoeglerAug 14, 2009
  7. Junio C HamanoAug 14, 2009
  8. Junio C HamanoAug 14, 2009
  9. Frank LichtenheldAug 14, 2009

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.