X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/c2ff0e90b8ce84d7b966622ffe0178303bb0a625..e2641e09cc0daf44f63f654230f72d22acf3a9af:/src/release.c diff --git a/src/release.c b/src/release.c new file mode 100644 index 00000000..64186ec4 --- /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; +}