From 58ab674396867145170e9c1fbd7457883b386ab8 Mon Sep 17 00:00:00 2001 From: Ricardo SIGNES Date: Thu, 14 May 2009 09:17:18 +0200 Subject: document Git_Data --- configpm | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'configpm') diff --git a/configpm b/configpm index 7651a9ca7b..5baed2b99c 100755 --- a/configpm +++ b/configpm @@ -938,6 +938,21 @@ print CONFIG_POD <<'ENDOFTAIL'; =back +=head1 GIT DATA + +Information on the git commit from which the current perl binary was compiled +can be found in the variable C<$Config::Git_Data>. The variable is a +structured string that looks something like this: + + git_commit_id='ea0c2dbd5f5ac6845ecc7ec6696415bf8e27bd52' + git_describe='GitLive-blead-1076-gea0c2db' + git_branch='smartmatch' + git_uncommitted_changes='' + git_commit_id_title='Commit id:' + git_commit_date='2009-05-09 17:47:31 +0200' + +Its format is not guaranteed not to change over time. + =head1 NOTE This module contains a good example of how to use tie to implement a -- cgit v1.2.1