chiark / gitweb /
git-debrebase: Replace one open-coded hash-object with hash_commit
[dgit.git] / git-debrebase
index 7dde1e746f846279d026e6119f6a9d84dbfba224..e307af843da884e4d5e8b39fd9fec8f68465bc30 100755 (executable)
@@ -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);