summaryrefslogtreecommitdiff
path: root/options.c
diff options
context:
space:
mode:
authorWayne Davison <wayne@opencoder.net>2020-08-01 00:15:06 -0700
committerWayne Davison <wayne@opencoder.net>2020-08-01 00:15:06 -0700
commitd73c26d2b70ce6430bd8fc5cecdb50489829ef12 (patch)
tree5b7d81b08806bf3929b4b938202b0ee32b4f7927 /options.c
parente83bbeb6735575e1fd178eeaf620c1ab85bd8f93 (diff)
downloadrsync-d73c26d2b70ce6430bd8fc5cecdb50489829ef12.tar.gz
Put git version in a file for between-release versioning.
Diffstat (limited to 'options.c')
-rw-r--r--options.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/options.c b/options.c
index 36e88621..0e9f3db6 100644
--- a/options.c
+++ b/options.c
@@ -23,6 +23,7 @@
#include "itypes.h"
#include "ifuncs.h"
#include "latest-year.h"
+#include "git-version.h"
#include <popt.h>
extern int module_id;
@@ -727,7 +728,7 @@ static void print_rsync_version(enum logcode f)
subprotocol = istring(".PR%d", SUBPROTOCOL_VERSION);
#endif
rprintf(f, "%s version %s protocol version %d%s\n",
- RSYNC_NAME, RSYNC_VERSION, PROTOCOL_VERSION, subprotocol);
+ RSYNC_NAME, RSYNC_GITVER, PROTOCOL_VERSION, subprotocol);
rprintf(f, "Copyright (C) 1996-" LATEST_YEAR " by Andrew Tridgell, Wayne Davison, and others.\n");
rprintf(f, "Web site: https://rsync.samba.org/\n");