Skip to content

Commit

Permalink
Include git ref content mapping facet in gitimport's Repo definition
Browse files Browse the repository at this point in the history
Summary: :)

Reviewed By: mitrandir77

Differential Revision: D66651139

fbshipit-source-id: 91646b6ada80529fb4fe2104511882ec10ff18d8
  • Loading branch information
RajivTS authored and facebook-github-bot committed Dec 5, 2024
1 parent a689d52 commit bcedfa4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions eden/mononoke/git/gitimport/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ facet = { version = "0.1.0", git = "https://github.com/facebookexperimental/rust
fbinit = { version = "0.2.0", git = "https://github.com/facebookexperimental/rust-shed.git", branch = "main" }
filestore = { version = "0.1.0", path = "../../filestore" }
futures = { version = "0.3.30", features = ["async-await", "compat"] }
git_ref_content_mapping = { version = "0.1.0", path = "../../git_ref_content_mapping" }
git_symbolic_refs = { version = "0.1.0", path = "../../git_symbolic_refs" }
gix-hash = "0.15.1"
import_direct = { version = "0.1.0", path = "../import_direct" }
Expand Down
4 changes: 4 additions & 0 deletions eden/mononoke/git/gitimport/src/repo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ use cacheblob::LeaseOps;
use commit_graph::CommitGraph;
use commit_graph::CommitGraphWriter;
use filestore::FilestoreConfig;
use git_ref_content_mapping::GitRefContentMapping;
use git_symbolic_refs::GitSymbolicRefs;
use metaconfig_types::RepoConfig;
use repo_blobstore::RepoBlobstore;
Expand Down Expand Up @@ -54,6 +55,9 @@ pub(crate) struct Repo {
#[facet]
bonsai_tag_mapping: dyn BonsaiTagMapping,

#[facet]
git_ref_content_mapping: dyn GitRefContentMapping,

#[facet]
git_symbolic_refs: dyn GitSymbolicRefs,

Expand Down

0 comments on commit bcedfa4

Please sign in to comment.