summaryrefslogtreecommitdiff
path: root/git-debrebase
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2019-06-29 00:26:32 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2019-06-29 00:59:36 +0100
commit44250fed27c2cf4b3ff93e6510a8017fcc09c402 (patch)
treea1cec878d4a8f5963fcdc95d32c553aabf0b7058 /git-debrebase
parentbc6745cb68686962dcbb5549cc276cf8a36e39e4 (diff)
git-debrebase: Replace one open-coded hash-object with hash_commit
No functional change. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'git-debrebase')
-rwxr-xr-xgit-debrebase2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-debrebase b/git-debrebase
index 7dde1e7..e307af8 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);