progress: make progress bar a singleton to avoid double-progress ui bugs
This helps
issue2698 a little, but isn't a complete fix, since
generators still can produce some weird progress bar switching.
keyword: reuse already present working contexts for match
Shortens overlong line as side-effect.
discovery: quiet note about heads
This was changing output on in/out -v for no good reason.
patch: fix parsing patch files containing CRs not followed by LFs
Since
1e64e1e12195 , patch lines containing a CR not followed by a LF
would be incorrectly splitten, causing a failure to apply the patch.
treediscovery: rename stop() in tests to fix failures on AIX.
It seems ksh, the default shell on AIX, does not permit the creation of a
function called stop(). test-treediscovery.t and test-treediscovery-legacy.t
both fail on AIX with error 'syntax error at line 25 : `(' unexpected'.
Fix by renaming stop() in the scripts to tstop(). For completeness
rename start() to tstart() to match. Both tests then pass on AIX.
Add check for the use of stop() in a shell script to check-code.