From: Ricardo SIGNES Date: Thu, 14 May 2009 07:17:18 +0000 (+0200) Subject: document Git_Data X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=58ab674396867145170e9c1fbd7457883b386ab8;p=p5sagit%2Fp5-mst-13.2.git document Git_Data --- diff --git a/configpm b/configpm index 7651a9c..5baed2b 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