Thread (4 messages) flat view 4 messages, 2 authors, 2021-02-23

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

From: Eric Sunshine <hidden>
Date: 2021-02-23 07:37:30

On Tue, Feb 23, 2021 at 12:03 AM Eric Sunshine [off-list ref] wrote:
On Mon, Feb 22, 2021 at 9:02 PM Clement Moyroud
[off-list ref] wrote:
quoted
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/ (local)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help