diff options
Diffstat (limited to 'src/release.c')
-rw-r--r-- | src/release.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/release.c b/src/release.c new file mode 100644 index 000000000..64186ec4e --- /dev/null +++ b/src/release.c @@ -0,0 +1,13 @@ +/* Every time the Redis Git SHA1 or Dirty status changes only this file + * small file is recompiled, as we access this information in all the other + * files using this functions. */ + +#include "release.h" + +char *redisGitSHA1(void) { + return REDIS_GIT_SHA1; +} + +char *redisGitDirty(void) { + return REDIS_GIT_DIRTY; +} |