Add Error.pm to the distribution
[gitweb.git] / perl / Git.pm
index 212337ee5bfe64bb0479eab01beb073f4f007f89..dcd769b4d1ef121e37f156f8580fb63ce39cf816 100644 (file)
@@ -48,7 +48,7 @@ =head1 SYNOPSIS
 
 # Methods which can be called as standalone functions as well:
 @EXPORT_OK = qw(command command_oneline command_pipe command_noisy
-                exec_path hash_object);
+                version exec_path hash_object);
 
 
 =head1 DESCRIPTION
@@ -285,6 +285,18 @@ sub command_noisy {
 }
 
 
+=item version ()
+
+Return the Git version in use.
+
+Implementation of this function is very fast; no external command calls
+are involved.
+
+=cut
+
+# Implemented in Git.xs.
+
+
 =item exec_path ()
 
 Return path to the git sub-command executables (the same as