From: Ian Jackson Date: Fri, 28 Jun 2019 23:26:32 +0000 (+0100) Subject: git-debrebase: Replace one open-coded hash-object with hash_commit X-Git-Tag: archive/debian/9.0~74 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=44250fed27c2cf4b3ff93e6510a8017fcc09c402 git-debrebase: Replace one open-coded hash-object with hash_commit No functional change. Signed-off-by: Ian Jackson --- diff --git a/git-debrebase b/git-debrebase index 7dde1e74..e307af84 100755 --- a/git-debrebase +++ b/git-debrebase @@ -730,7 +730,7 @@ sub merge_series_patchqueue_convert ($$$) { open C, ">", "../mcommit" or confess "$!"; print C $commit or confess "$!"; close C or confess "$!"; - $build = cmdoutput @git, qw(hash-object -w -t commit ../mcommit); + $build = hash_commit '../mcommit'; } $result = $build; mwrecknote($wrecknotes, 'merged-result', $result);