diff options
author | John Keeping | 2013-04-14 19:15:43 +0100 |
---|---|---|
committer | Jason A. Donenfeld | 2013-04-15 16:59:37 +0200 |
commit | d483e8f5692117d6f3ea0801c0ca2ec7aa8f6f3b (patch) | |
tree | 384b0305c533bfe84bb88d6143e7f9f6e8da538b /tests/t0109-gitconfig.sh | |
parent | 31f56fc1ecfe7e5131cf31a30a74dcc0803d32d0 (diff) | |
download | cgit-d483e8f5692117d6f3ea0801c0ca2ec7aa8f6f3b.tar.gz cgit-d483e8f5692117d6f3ea0801c0ca2ec7aa8f6f3b.tar.bz2 cgit-d483e8f5692117d6f3ea0801c0ca2ec7aa8f6f3b.zip |
t0001: ignore ".dirty" suffix on Git version
When testing modifications in Git that affect CGit, it is annoying to
have t0001 failing simply because the Git version has a ".dirty" suffix
when the version of Git there does indeed match that specified in the
CGit makefile. Stop this by stripping the ".dirty" suffix from the
GIT_VERSION variable.
Note that this brings the "Git version" behaviour in line with the
"submodule version" case which does not check if the working tree in
git/ is modified.
Signed-off-by: John Keeping <john@keeping.me.uk>
Diffstat (limited to 'tests/t0109-gitconfig.sh')
0 files changed, 0 insertions, 0 deletions