summaryrefslogtreecommitdiff
path: root/dgit
diff options
context:
space:
mode:
authorIan Jackson <ijackson@chiark.greenend.org.uk>2019-06-29 00:25:14 +0100
committerIan Jackson <ijackson@chiark.greenend.org.uk>2019-06-29 00:52:53 +0100
commitbc6745cb68686962dcbb5549cc276cf8a36e39e4 (patch)
tree7b13181d8b2f99515772ed5584b559afe680e156 /dgit
parent5bed21be705bbfc578b623b9543344e4d8efb4a9 (diff)
Dgit.pm: Move hash_commit from dgit
No functional change other than to no longer honour @git. Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Diffstat (limited to 'dgit')
-rwxr-xr-xdgit5
1 files changed, 0 insertions, 5 deletions
diff --git a/dgit b/dgit
index 63acf0a..adf22f6 100755
--- a/dgit
+++ b/dgit
@@ -2112,11 +2112,6 @@ END
}
}
-sub hash_commit ($) {
- my ($file) = @_;
- return cmdoutput @git, qw(hash-object -w -t commit), $file;
-}
-
sub clogp_authline ($) {
my ($clogp) = @_;
my $author = getfield $clogp, 'Maintainer';