Skip to content

Commit

Permalink
WIP drop discover_git_directory()
Browse files Browse the repository at this point in the history
  • Loading branch information
chooglen committed Jun 13, 2023
1 parent 3a2ca99 commit 9469fe3
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions setup.c
Expand Up @@ -1422,14 +1422,6 @@ int discover_git_directory(struct strbuf *commondir,
return -1;
}

the_repository->repository_format_worktree_config =
candidate.worktree_config;

/* take ownership of candidate.partial_clone */
the_repository->repository_format_partial_clone =
candidate.partial_clone;
candidate.partial_clone = NULL;

clear_repository_format(&candidate);
return 0;
}
Expand Down

0 comments on commit 9469fe3

Please sign in to comment.