Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,12 @@ fn real_main(options: Args, gctx: &mut GlobalContext) -> CliResult {
);

// save revision
src_uri_extras.push(format!("SRCREV_FORMAT .= \"_{}\"", pkg.name()));
if options.legacy_overrides {
src_uri_extras.push(format!("SRCREV_FORMAT .= \"_{}\"", pkg.name()));
} else {
src_uri_extras.push(format!("SRCREV_FORMAT .= \":{}\"", pkg.name()));
};


let precise = if options.reproducible {
src_id.precise_git_fragment()
Expand Down