]> gitweb.ps.run Git - ps-cgit/commit
ui-patch: use cgit_version not CGIT_VERSION
authorJohn Keeping <john@keeping.me.uk>
Wed, 6 Mar 2013 21:22:07 +0000 (21:22 +0000)
committerJason A. Donenfeld <Jason@zx2c4.com>
Wed, 20 Mar 2013 20:08:32 +0000 (21:08 +0100)
commit1a6feaf5fafdaec4a1adb1c0d54b95106122ede5
tree284501d8d1c2331bd0bb7aa6b50639ad0c3c8c86
parent5f323c1ff45c10d8f8b0a673d2fe7e98272f5d78
ui-patch: use cgit_version not CGIT_VERSION

We already have a global cgit_version which is set from the #define'd
CGIT_VERSION in cgit.c.  Change ui-patch.c to use this so that we only
need to rebuild cgit.o when the version changes.

Signed-off-by: John Keeping <john@keeping.me.uk>
ui-patch.c