Skip to content

Commit

Permalink
include git_member when building metadata from soruce
Browse files Browse the repository at this point in the history
  • Loading branch information
ericmarkmartin committed Nov 26, 2024
1 parent 26b65da commit d6a44a8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion crates/uv-distribution/src/source/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1433,11 +1433,16 @@ impl<'a, T: BuildContext> SourceDistributionBuilder<'a, T> {
.await
.map_err(Error::CacheWrite)?;

let git_member = GitWorkspaceMember {
fetch_root: fetch.path(),
git_source: resource,
};

return Ok(ArchiveMetadata::from(
Metadata::from_workspace(
metadata,
&path,
None,
Some(&git_member),
self.build_context.locations(),
self.build_context.sources(),
self.build_context.bounds(),
Expand Down

0 comments on commit d6a44a8

Please sign in to comment.