mirror of
https://github.com/fluencelabs/redis
synced 2025-06-22 21:41:32 +00:00
hopefully faster recompiling with a trick
This commit is contained in:
13
release.c
Normal file
13
release.c
Normal 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;
|
||||
}
|
Reference in New Issue
Block a user