No functional change
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
parse_dscdata();
$package = getfield $dsc, 'Source';
- parse_dsc_field($dsc, "Dgit metadata in .dsc");
- if (defined $dsc_hash
- && !forceing [qw(import-dsc-with-dgit-field)]) {
+ parse_dsc_field($dsc, "Dgit metadata in .dsc")
+ unless forceing [qw(import-dsc-with-dgit-field)];
+
+ if (defined $dsc_hash) {
progress "dgit: import-dsc of .dsc with Dgit field, using git hash";
my @cmd = (qw(sh -ec),
"echo $dsc_hash | git cat-file --batch-check");