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

Re: 'git maintenance' won't work on bare repos

From
Eric Sunshine <sunshine@sunshineco.com>
Date
Feb 23, 2021, 07:36 UTC
Message-ID
<CAPig+cTGe1=uqLw1Hxe+5=0WyWEJCOaqHEqLkuYmgR1pG+xVOA@mail.gmail.com>
In-Reply-To
<CAPig+cSvYLMtML5ya4GR30-nfNNt19okLjchkkdhdzAEB19H4g@mail.gmail.com>
On Tue, Feb 23, 2021 at 12:03 AM Eric Sunshine <sunshine@sunshineco.com> wrote:
Show 10 quoted lines
> On Mon, Feb 22, 2021 at 9:02 PM Clement Moyroud
> <clement.moyroud@gmail.com> wrote:
> > So the proper solution is to do it from the bare clone itself.
> > However, 'git maintenance register' silently fails (with an 0 exit
> > code). There are two tell-tale signs:
> > 1. 'git config --global --get maintenance.repo' returns '.'
>
> I have a patch which fixes the problem with the bare repo path being
> incorrectly registered as ".", but I still need to create a regression
> test for it.

Patch posted here: https://lore.kernel.org/git/20210223073107.40675-1-sunshine@sunshineco.com/

Previous: Eric SunshineNext: Clement Moyroud
Message 3 of 4 in “'git maintenance' won't work on bare repos”
  1. Clement MoyroudFeb 23, 2021
  2. Eric SunshineFeb 23, 2021
  3. Eric SunshineFeb 23, 2021
  4. Clement MoyroudFeb 23, 2021

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.