Commit 4684a19d authored by Vincent Lefevre's avatar Vincent Lefevre
Browse files

Fixed git info output by "make check".

tests/Makefile.am: when discarding excluded branches, the match should
be done on the full branch name, not a subword; so, added the -x grep
option (specified by POSIX).
parent 0c0fa6d5
......@@ -41,7 +41,7 @@ output_info = { \
if [ "x`git rev-parse --is-inside-work-tree 2> /dev/null`" = xtrue ]; then \
git tag --contains | sed -n 's/-root$$//p' > excluded-branches; \
gitb=`git branch --format='%(refname:short)' --contains | \
grep -v '^(' | grep -v -F -f excluded-branches`; \
grep -v '^(' | grep -v -F -f excluded-branches -x`; \
rm excluded-branches; \
gitc=`git rev-list --count HEAD`; \
gith=`git rev-parse --short HEAD`; \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment