mirror of
https://github.com/ceph/ceph
synced 2025-01-10 05:00:59 +00:00
prefix git sha1 with commit:
This just makes it into a link when pasted directly into redmine. Signed-off-by: Sage Weil <sage@newdream.net>
This commit is contained in:
parent
dc295a371c
commit
e6d28ce380
@ -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;
|
||||
|
||||
|
@ -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();
|
||||
|
@ -1086,7 +1086,7 @@ void parse_startup_config_options(std::vector<const char*>& 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);
|
||||
|
Loading…
Reference in New Issue
Block a user