]> gitweb.ps.run Git - ps-cgit/commitdiff
t0001: ignore ".dirty" suffix on Git version
authorJohn Keeping <john@keeping.me.uk>
Sun, 14 Apr 2013 18:15:43 +0000 (19:15 +0100)
committerJason A. Donenfeld <Jason@zx2c4.com>
Mon, 15 Apr 2013 14:59:37 +0000 (16:59 +0200)
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>

No differences found