about summary refs log tree commit diff
path: root/ui-shared.c
diff options
context:
space:
mode:
authorJohn Keeping <john@keeping.me.uk>2013-04-27 10:48:56 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2013-04-27 17:21:22 +0200
commit8d07ad3388429b6c1361074cbac5dec6afee79d7 (patch)
tree46d1c4c7b8fe975aa5afe54151a652f1093e23d3 /ui-shared.c
parentgit: update to 1.8.2.2 (diff)
downloadcgit-pink-8d07ad3388429b6c1361074cbac5dec6afee79d7.tar.gz
cgit-pink-8d07ad3388429b6c1361074cbac5dec6afee79d7.zip
t0001: validate Git -rcN version numbers correctly
When creating the GIT-VERSION-FILE that we use to test that the version
of Git in git/ is the same as in the CGit Makefile, Git applies the
transform "s/-/./g" to the version string.  This doesn't affect released
versions but does change RC version numbers such as 1.8.3-rc0.

While CGit should only refer to a released Git version in general, it is
useful to developers who want to test upcoming Git releases if the tests
do work with RCs, so change t0001 to apply the same transform to our
Makefile version before comparing it to the contents of
GIT-VERSION-FILE.

Signed-off-by: John Keeping <john@keeping.me.uk>
Diffstat (limited to 'ui-shared.c')
0 files changed, 0 insertions, 0 deletions
f='/cgit-pink/commit/ui-shared.c?h=1.3.0&id=2fc008d6dea2456548825c973a5516b5cdfd9c8c&follow=1'>ui-shared: ban strcat()Christian Hesse 2018-09-11ui-patch: ban sprintf()Christian Hesse 2018-09-11ui-log: ban strncpy()Christian Hesse 2018-09-11ui-log: ban strcpy()Christian Hesse 2018-09-11parsing: ban sprintf()Christian Hesse 2018-09-11parsing: ban strncpy()Christian Hesse 2018-08-28filters: generate anchor links from markdownChristian Hesse 2018-08-03Bump version.Jason A. Donenfeld 2018-08-03clone: fix directory traversalJason A. Donenfeld 2018-08-03config: record repo.snapshot-prefix in the per-repo configKonstantin Ryabitsev