git_revision.c File Reference

Strings to describe the current Git commit. More...

#include "orconfig.h"
#include "lib/version/git_revision.h"
#include "micro-revision.i"

Go to the source code of this file.


const char tor_git_revision []
const char tor_bug_suffix []

Detailed Description

Strings to describe the current Git commit.

Definition in file git_revision.c.

Variable Documentation

◆ tor_bug_suffix

const char tor_bug_suffix[]
Initial value:
= " (on Tor " VERSION
" "

String appended to Tor bug messages describing the Tor version.

It has the form "(on Tor" or "(on Tor git-b994397f1af193f8)"

Definition at line 32 of file git_revision.c.

◆ tor_git_revision

const char tor_git_revision[]
Initial value:

String describing which Tor Git repository version the source was built from. This string is generated by a bit of shell kludging in src/core/, and is usually right.

Definition at line 18 of file git_revision.c.

Referenced by get_version().