diff --git a/src/main.rs b/src/main.rs index 608705b5f..918b1fe9d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -848,6 +848,10 @@ fn do_reclone() -> Result<(), String> { check_graft_refs(); + if graft_config_enabled(None)?.unwrap_or(false) { + init_graft(); + } + let mut update_refs_by_remote = Vec::new(); for_each_remote(|remote| {