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

Re: git-push on packed refs via HTTP

From
Andreas Ericsson <ae@op5.se>
Date
Mar 20, 2009, 10:38 UTC
Message-ID
<49C3721E.7000005@op5.se>
In-Reply-To
<loom.20090320T094550-421@post.gmane.org>
Steve wrote:
Show 7 quoted lines
> Hi
> 
> Using HTTP as transport, I've noticed that after using git-gc on a git server, I
> can't push to that repo anymore: "No refs in common and none specified." Client
> and server are both 1.6.2. Is ths a bug or do I have to do something after
> executing git-gc on the server?
> 

I had this happen once after having upgraded git on the server in question and then running "git gc" against a repo. I didn't remove the old (not packed-refs knowing) git though, and when I later tried to push to it, it couldn't find any refs since the old receive-pack was being used, and it didn't know about packed refs.

Worth checking, possibly.
-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.
Previous: SteveNext: Steve
Message 4 of 9 in “git-push on packed refs via HTTP”
  1. SteveMar 20, 2009
  2. Thomas JaroschMar 20, 2009
  3. SteveMar 20, 2009
  4. Andreas EricssonMar 20, 2009
  5. SteveMar 20, 2009
  6. Tay Ray ChuanMar 20, 2009
  7. SteveMar 20, 2009
  8. Johannes SchindelinMar 20, 2009
  9. SteveMar 27, 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.