Skip to content

Commit

Permalink
Initialize graft on reclone
Browse files Browse the repository at this point in the history
  • Loading branch information
glandium committed Nov 2, 2023
1 parent 504bf38 commit 9022e21
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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| {
Expand Down

0 comments on commit 9022e21

Please sign in to comment.