]> Sergey Matveev's repositories - public-inbox.git/commit
t/solver_git: fix test to work with git <2.29
authorEric Wong <e@80x24.org>
Wed, 29 Sep 2021 03:02:54 +0000 (03:02 +0000)
committerEric Wong <e@80x24.org>
Wed, 29 Sep 2021 03:09:39 +0000 (03:09 +0000)
commitea7a1afdb5b4fe417bdc606b8ee73680ce4148bf
tree39fe170dc8e949f605a96c47afca2b90966e1668
parente3ea02ed136d99edde51e0da041145b2a55ea83c
t/solver_git: fix test to work with git <2.29

'git diff --abbrev=40' did not abbreviate /^index / lines of
diff output with git <2.29, and 40 will be insufficient for
SHA-256.  --full-index has been around since 2005, so it's safe
to rely on.

Tested git version 2.20.0 (Debian buster).

Fixes: 751df49e7db8ba77 ("lei rediff: add --drq and --dequote-only")
t/solver_git.t