From: Sage Weil Date: Wed, 13 Oct 2010 15:50:55 +0000 (-0700) Subject: prefix git sha1 with commit: X-Git-Tag: v0.22~15 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=e6d28ce380509264302732cb46e5bccf4ce71eb5;p=ceph.git prefix git sha1 with commit: This just makes it into a link when pasted directly into redmine. Signed-off-by: Sage Weil --- diff --git a/src/common/BackTrace.cc b/src/common/BackTrace.cc index 0c6eb1b5a61da..b68f40c2d7b93 100644 --- a/src/common/BackTrace.cc +++ b/src/common/BackTrace.cc @@ -16,7 +16,7 @@ namespace ceph { void BackTrace::print(std::ostream& out) { - out << " ceph version " << VERSION << " (" << STRINGIFY(CEPH_GIT_VER) << ")" << std::endl; + out << " ceph version " << VERSION << " (commit:" << STRINGIFY(CEPH_GIT_VER) << ")" << std::endl; for (size_t i = skip; i < size; i++) { // out << " " << (i-skip+1) << ": " << strings[i] << std::endl; diff --git a/src/common/debug.cc b/src/common/debug.cc index fa0c407bf9703..86def0548a14b 100644 --- a/src/common/debug.cc +++ b/src/common/debug.cc @@ -163,7 +163,7 @@ void _dout_open_log() *_dout << g_clock.now() << " --- " << getpid() << " opened log " << _dout_path << " ---" << std::endl; } - *_dout << "ceph version " << VERSION << " (" << STRINGIFY(CEPH_GIT_VER) << ")" << std::endl; + *_dout << "ceph version " << VERSION << " (commit:" << STRINGIFY(CEPH_GIT_VER) << ")" << std::endl; if (need_symlink) create_name_symlink(); diff --git a/src/config.cc b/src/config.cc index 0ea37dc81c693..324ebccb3b170 100644 --- a/src/config.cc +++ b/src/config.cc @@ -1086,7 +1086,7 @@ void parse_startup_config_options(std::vector& args, const char *mo FOR_EACH_ARG(args) { if (CONF_ARG_EQ("version", 'v')) { - cout << "ceph version " << VERSION << " (" << STRINGIFY(CEPH_GIT_VER) << ")" << std::endl; + cout << "ceph version " << VERSION << " (commit:" << STRINGIFY(CEPH_GIT_VER) << ")" << std::endl; _exit(0); } else if (CONF_ARG_EQ("conf", 'c')) { CONF_SAFE_SET_ARG_VAL(&g_conf.conf, OPT_STR);