Skip to content

Commit 02ee544

Browse files
authored
Merge pull request #10870 from gitbutlerapp/kv-branch-60
fix(controller): detect Gerrit by refs/meta/config instead of notes
2 parents 00fadef + 0066a0e commit 02ee544

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/gitbutler-project/src/controller.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ pub fn is_gerrit_remote(repo: &gix::Repository) -> anyhow::Result<bool> {
330330
use gix::{bstr::ByteSlice, remote::Direction};
331331

332332
// Magic refspec that we use to determine if the remote is a Gerrit remote
333-
let gerrit_notes_ref = "refs/notes/review";
333+
let gerrit_notes_ref = "refs/meta/config";
334334

335335
let remote_name = repo
336336
.remote_default_name(Direction::Fetch)

0 commit comments

Comments
 (0)