summaryrefslogtreecommitdiff
path: root/version.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-02-18 03:43:14 (GMT)
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2015-02-18 03:43:14 (GMT)
commita8e289374a3162d98ec58833550c40e44092179b (patch)
treef254f165da47748b2d83ea97abc6e6982b7f03c4 /version.c
parent7d9f497f7ebde95ba2e15247ab55021872a7009b (diff)
version.c: last commit title
* version.c (ruby_show_version): show last commit title, if different than the trunk. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@49638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'version.c')
-rw-r--r--version.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/version.c b/version.c
index b2a4d2d..45761b3 100644
--- a/version.c
+++ b/version.c
@@ -78,6 +78,9 @@ void
ruby_show_version(void)
{
PRINT(description);
+#ifdef RUBY_LAST_COMMIT_TITLE
+ fputs("last_commit=" RUBY_LAST_COMMIT_TITLE, stdout);
+#endif
#ifdef HAVE_MALLOC_CONF
if (malloc_conf) printf("malloc_conf=%s\n", malloc_conf);
#endif