]> git.ipfire.org Git - thirdparty/git.git/blobdiff - perl/Git.pm
send-email: move "hooks_path" invocation to git-send-email.perl
[thirdparty/git.git] / perl / Git.pm
index df6280ebab58ec7e36702a85cdc935ac3c3d9bac..02eacef0c2a4a43058a74dda4cebe1ae16bdd2eb 100644 (file)
@@ -619,18 +619,6 @@ Return path to the git repository. Must be called on a repository instance.
 
 sub repo_path { $_[0]->{opts}->{Repository} }
 
-=item hooks_path ()
-
-Return path to the hooks directory. Must be called on a repository instance.
-
-=cut
-
-sub hooks_path {
-       my ($self) = @_;
-
-       my $dir = $self->command_oneline('rev-parse', '--git-path', 'hooks');
-       return $dir;
-}
 
 =item wc_path ()