chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
import-dsc: Introduce $newhash (nfc)
[dgit.git]
/
dgit
diff --git
a/dgit
b/dgit
index 87419c266574709d8fc02b420ded39ae2aba6f3e..a1ca04562c7f0ab38ee3de4421ce6a781d5e4857 100755
(executable)
--- a/
dgit
+++ b/
dgit
@@
-5347,8
+5347,10
@@
END
my @mergeinputs = generate_commits_from_dsc();
die unless @mergeinputs == 1;
my @mergeinputs = generate_commits_from_dsc();
die unless @mergeinputs == 1;
+ my $newhash = $mergeinputs[0]{Commit};
+
my @cmd = (@git, qw(update-ref -m), "dgit import-dsc: $info",
my @cmd = (@git, qw(update-ref -m), "dgit import-dsc: $info",
- $dstbranch, $
mergeinputs[0]{Commit}
);
+ $dstbranch, $
newhash
);
runcmd @cmd;
progress "dgit: import-dsc results are in in git ref $dstbranch";
}
runcmd @cmd;
progress "dgit: import-dsc results are in in git ref $dstbranch";
}