From a8e289374a3162d98ec58833550c40e44092179b Mon Sep 17 00:00:00 2001 From: nobu Date: Wed, 18 Feb 2015 03:43:14 +0000 Subject: 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 --- version.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'version.c') diff --git a/version.c b/version.c index b2a4d2d25e..45761b3251 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 -- cgit v1.2.3