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

triggering pack-refs

From
VKVangelis Katsikaros <ibob17@yahoo.gr>
Date
May 29, 2012, 10:43 UTC
Message-ID
<4FC4A84B.3020404@yahoo.gr>
Hi
I was doing push/pull to a remote repo and I suddenly got
Total 0 (delta 0), reused 0 (delta 0)
Auto packing the repository for optimum performance.
fatal: Unable to create 'PATH/packed-refs.lock': Permission denied
error: failed to run pack-refs
To user@hostname:PATH
    abc1..abc2  dev -> dev

Indeed, the group of the user I was using didn't have the permission to write in PATH/ . It also seems that git pack-refs wasn't running before when I was going push/pull.

My question: is it normal for git pack-refs to be triggered during a push for the first time at some point in time (because a threshold of something was exceeded), or is this an indication that something else might be wrong?

I can post more information if needed. The client is 1.7.0.4 on ubuntu, and the git on the server is the same too (I don't know how to see the the "git version of the remote repo" - if there is such thing).

Regards Vangelis Katsikaros

Next: Junio C Hamano
Message 1 of 2 in “triggering pack-refs”
  1. Vangelis KatsikarosMay 29, 2012
  2. Junio C HamanoMay 29, 2012

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.