Git 2.22.0 rejects clone with `sparse:oid` filter options
Problem to solve
When testing gitaly#1769 (moved), I observed performing a partial clone using --filter=sparse:oid=partial-clone-tests:.gitfilterspec
results in the error below:
$ git clone --no-local --no-checkout --filter=sparse:oid=partial-clone-tests:.gitfilterspec http://localhost:3021/jramsay/git.git git-sparse
BUG: refs.c:1781: attempting to get main_ref_store outside of repository
Note, this occurred after enabling uploadpack.allowFilter
on the bare repository.
Proposal
This needs to be investigated and fixed before partial clone will be useful to monolithic repositories.
Links / references
Designs
- Show closed items
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- James Ramsay (ex-GitLab) changed milestone to %Backlog
changed milestone to %Backlog
added devopscreate git contribution groupgitaly partial clone typebug labels
- James Ramsay (ex-GitLab) changed the description
changed the description
- James Ramsay (ex-GitLab) added to epic &915 (closed)
added to epic &915 (closed)
- James Ramsay (ex-GitLab) mentioned in epic &915 (closed)
mentioned in epic &915 (closed)
- James Ramsay (ex-GitLab) changed milestone to %Backlog
changed milestone to %Backlog
- James Ramsay (ex-GitLab) moved from gitaly#1769 (moved)
moved from gitaly#1769 (moved)
Merged to master in: 627b8268
- Zeger-Jan van de Weg added gitmaster label
added gitmaster label
- Maintainer
Setting Category:Gitaly based on groupgitaly.
- 🤖 GitLab Bot 🤖 added Category:Gitaly label
added Category:Gitaly label
- Zeger-Jan van de Weg closed
closed
- James Ramsay (ex-GitLab) changed epic to &958 (closed)
changed epic to &958 (closed)
- James Ramsay (ex-GitLab) mentioned in epic &958 (closed)
mentioned in epic &958 (closed)
- Zeger-Jan van de Weg mentioned in commit 128107fd
mentioned in commit 128107fd
- Johannes Schindelin mentioned in commit 828197de
mentioned in commit 828197de
- DarwinJS mentioned in issue gitlab#234278 (closed)
mentioned in issue gitlab#234278 (closed)
- Philippe Blain mentioned in commit ba58ddd0
mentioned in commit ba58ddd0
- Zeger-Jan van de Weg mentioned in commit 3d7142b1
mentioned in commit 3d7142b1
- Zeger-Jan van de Weg mentioned in commit 3a2c316f
mentioned in commit 3a2c316f
- Zeger-Jan van de Weg mentioned in commit c6f48983
mentioned in commit c6f48983
- Zeger-Jan van de Weg mentioned in commit 6bd73924
mentioned in commit 6bd73924
- Zeger-Jan van de Weg mentioned in commit 8286296b
mentioned in commit 8286296b
- Zeger-Jan van de Weg mentioned in commit dbafe90b
mentioned in commit dbafe90b
- Zeger-Jan van de Weg mentioned in commit b180c681
mentioned in commit b180c681
- Zeger-Jan van de Weg mentioned in commit f3a96807
mentioned in commit f3a96807
- Zeger-Jan van de Weg mentioned in commit 37be1199
mentioned in commit 37be1199
- Zeger-Jan van de Weg mentioned in commit 805b789a
mentioned in commit 805b789a
- Zeger-Jan van de Weg mentioned in commit a317a553
mentioned in commit a317a553
- Zeger-Jan van de Weg mentioned in commit 52a9436a
mentioned in commit 52a9436a
- Zeger-Jan van de Weg mentioned in commit d895804b
mentioned in commit d895804b
- Zeger-Jan van de Weg mentioned in commit db69bf60
mentioned in commit db69bf60
- Zeger-Jan van de Weg mentioned in commit 844ee61c
mentioned in commit 844ee61c
- Bhaskar Chowdhury mentioned in commit unixbhaskar/git@9fa62137
mentioned in commit unixbhaskar/git@9fa62137
- Bhaskar Chowdhury mentioned in commit unixbhaskar/git@14c3dd81
mentioned in commit unixbhaskar/git@14c3dd81
- Bhaskar Chowdhury mentioned in commit unixbhaskar/git@675ea4ef
mentioned in commit unixbhaskar/git@675ea4ef
- Will Chandler (ex-GitLab) mentioned in commit 93185c2e
mentioned in commit 93185c2e
- Will Chandler (ex-GitLab) mentioned in commit 2d679f40
mentioned in commit 2d679f40
- Will Chandler (ex-GitLab) mentioned in commit c96e9bd6
mentioned in commit c96e9bd6
- Will Chandler (ex-GitLab) mentioned in commit 510d42bf
mentioned in commit 510d42bf
- Will Chandler (ex-GitLab) mentioned in commit 318da73d
mentioned in commit 318da73d
- Will Chandler (ex-GitLab) mentioned in commit 5aec8f42
mentioned in commit 5aec8f42
- Will Chandler (ex-GitLab) mentioned in commit e659541d
mentioned in commit e659541d
- Will Chandler (ex-GitLab) mentioned in commit e630d22c
mentioned in commit e630d22c
- Will Chandler (ex-GitLab) mentioned in commit b1b3e265
mentioned in commit b1b3e265
- Will Chandler (ex-GitLab) mentioned in commit c0e3e947
mentioned in commit c0e3e947
- Will Chandler (ex-GitLab) mentioned in commit 8412335f
mentioned in commit 8412335f
- Toon Claes mentioned in commit 23578904
mentioned in commit 23578904
- Toon Claes mentioned in commit 1490d7d8
mentioned in commit 1490d7d8
- Ævar Arnfjörð Bjarmason mentioned in commit f1f4ebf4
mentioned in commit f1f4ebf4
- Ævar Arnfjörð Bjarmason mentioned in commit f1f4ebf4
mentioned in commit f1f4ebf4
- Patrick Steinhardt mentioned in commit 6114d16c
mentioned in commit 6114d16c
- Patrick Steinhardt mentioned in commit e79cfbdc
mentioned in commit e79cfbdc
- Patrick Steinhardt mentioned in commit 9fdafda6
mentioned in commit 9fdafda6
- Patrick Steinhardt mentioned in commit 01891f96
mentioned in commit 01891f96
- Patrick Steinhardt mentioned in commit 65ecc34b
mentioned in commit 65ecc34b
- Patrick Steinhardt mentioned in commit b5d801c9
mentioned in commit b5d801c9
- Patrick Steinhardt mentioned in commit 699d62a6
mentioned in commit 699d62a6
- Patrick Steinhardt mentioned in commit f353e7f3
mentioned in commit f353e7f3
- Patrick Steinhardt mentioned in commit 0ea8d327
mentioned in commit 0ea8d327
- Patrick Steinhardt mentioned in commit c4b59a55
mentioned in commit c4b59a55
- Patrick Steinhardt mentioned in commit 17c5dbf3
mentioned in commit 17c5dbf3
- Patrick Steinhardt mentioned in commit 4f8aab89
mentioned in commit 4f8aab89
- Karthik Nayak mentioned in commit 5fafe8c9
mentioned in commit 5fafe8c9
- Ghost User mentioned in merge request !53 (closed)
mentioned in merge request !53 (closed)
- Elijah Newren mentioned in commit a1fbe26a
mentioned in commit a1fbe26a
- Karthik Nayak mentioned in commit 993d38a0
mentioned in commit 993d38a0
- Ghost User mentioned in commit 34d982ca
mentioned in commit 34d982ca
- Patrick Steinhardt mentioned in commit 0ab3e954
mentioned in commit 0ab3e954
- Patrick Steinhardt mentioned in commit 83a75f9a
mentioned in commit 83a75f9a
- Patrick Steinhardt mentioned in commit c042c630
mentioned in commit c042c630
- Patrick Steinhardt mentioned in commit 53e2f8f4
mentioned in commit 53e2f8f4
- Patrick Steinhardt mentioned in commit d1d8c411
mentioned in commit d1d8c411
- Patrick Steinhardt mentioned in commit fc0ed68d
mentioned in commit fc0ed68d
- Patrick Steinhardt mentioned in commit 6535d1ca
mentioned in commit 6535d1ca
- Patrick Steinhardt mentioned in commit 3277eee4
mentioned in commit 3277eee4
- Patrick Steinhardt mentioned in commit 6a2baf0d
mentioned in commit 6a2baf0d
- Patrick Steinhardt mentioned in commit 99bd0d6a
mentioned in commit 99bd0d6a
- Patrick Steinhardt mentioned in commit f1a1de37
mentioned in commit f1a1de37
- Patrick Steinhardt mentioned in commit 637a546c
mentioned in commit 637a546c
- Patrick Steinhardt mentioned in commit b75376e3
mentioned in commit b75376e3
- Patrick Steinhardt mentioned in commit 0dd49fc9
mentioned in commit 0dd49fc9
- Patrick Steinhardt mentioned in commit d9e122bb
mentioned in commit d9e122bb
- Patrick Steinhardt mentioned in commit 08138933
mentioned in commit 08138933
- Patrick Steinhardt mentioned in commit 3707f52a
mentioned in commit 3707f52a
- Patrick Steinhardt mentioned in commit 80cb4162
mentioned in commit 80cb4162
- Patrick Steinhardt mentioned in commit dee53d3b
mentioned in commit dee53d3b
- Patrick Steinhardt mentioned in commit c3f74fcf
mentioned in commit c3f74fcf
- Patrick Steinhardt mentioned in commit c810549b
mentioned in commit c810549b
- Patrick Steinhardt mentioned in commit d105819e
mentioned in commit d105819e
- Patrick Steinhardt mentioned in commit faee6a7e
mentioned in commit faee6a7e
- Patrick Steinhardt mentioned in commit 52e17f51
mentioned in commit 52e17f51
- Patrick Steinhardt mentioned in commit 77ee8f56
mentioned in commit 77ee8f56
- Patrick Steinhardt mentioned in commit 84155952
mentioned in commit 84155952
- Patrick Steinhardt mentioned in commit 285b8741
mentioned in commit 285b8741
- Patrick Steinhardt mentioned in commit a34bea23
mentioned in commit a34bea23
- Patrick Steinhardt mentioned in commit 9e348d7d
mentioned in commit 9e348d7d
- Patrick Steinhardt mentioned in commit 54097a0b
mentioned in commit 54097a0b
- mirucam mentioned in commit mirucam/git@7a8d9efc
mentioned in commit mirucam/git@7a8d9efc
- Patrick Steinhardt mentioned in commit mirucam/git@106140a9
mentioned in commit mirucam/git@106140a9
- Patrick Steinhardt mentioned in commit mirucam/git@9218c0bf
mentioned in commit mirucam/git@9218c0bf
- Karthik Nayak mentioned in commit b119a687
mentioned in commit b119a687
- Patrick Steinhardt mentioned in commit ece8cf32
mentioned in commit ece8cf32
- Patrick Steinhardt mentioned in commit 9ca7bf22
mentioned in commit 9ca7bf22
- Patrick Steinhardt mentioned in commit 087740d6
mentioned in commit 087740d6
- Patrick Steinhardt mentioned in commit c5fe29f6
mentioned in commit c5fe29f6