summaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
Diffstat (limited to 'perl')
-rw-r--r--perl/Git.pm5
1 files changed, 2 insertions, 3 deletions
diff --git a/perl/Git.pm b/perl/Git.pm
index d05b633b64..e2141b6381 100644
--- a/perl/Git.pm
+++ b/perl/Git.pm
@@ -719,9 +719,8 @@ sub ident_person {
=item hash_object ( TYPE, FILENAME )
-Compute the SHA1 object id of the given C<FILENAME> (or data waiting in
-C<FILEHANDLE>) considering it is of the C<TYPE> object type (C<blob>,
-C<commit>, C<tree>).
+Compute the SHA1 object id of the given C<FILENAME> considering it is
+of the C<TYPE> object type (C<blob>, C<commit>, C<tree>).
The method can be called without any instance or on a specified Git repository,
it makes zero difference.