]> git.saurik.com Git - redis.git/blobdiff - src/release.c
redis.c split into many different C files.
[redis.git] / src / release.c
diff --git a/src/release.c b/src/release.c
new file mode 100644 (file)
index 0000000..64186ec
--- /dev/null
@@ -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;
+}