hopefully faster recompiling with a trick

This commit is contained in:
antirez
2010-06-13 23:45:14 +02:00
parent bb039e853d
commit 7c4fc71c15
3 changed files with 24 additions and 8 deletions

13
release.c Normal file
View File

@ -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;
}