We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba025f2 commit 0a549bfCopy full SHA for 0a549bf
src/main.rs
@@ -236,7 +236,12 @@ fn real_main(options: Args, config: &mut Config) -> CliResult {
236
);
237
238
// save revision
239
- src_uri_extras.push(format!("SRCREV_FORMAT .= \"_{}\"", pkg.name()));
+ if options.legacy_overrides {
240
+ src_uri_extras.push(format!("SRCREV_FORMAT .= \"_{}\"", pkg.name()));
241
+ } else {
242
+ src_uri_extras.push(format!("SRCREV_FORMAT .= \":{}\"", pkg.name()));
243
+ };
244
+
245
246
let precise = if options.reproducible {
247
src_id.precise()
0 commit comments