burke/matcher — pull request #15 by mleech (2013-05-22 14:43:46+00:00)
Title: Handle case when no search term is passed in. (Fix for issue #14)

When ctrlp opens, it runs matcher with no search term.
Matcher was not correctly handling this and was
setting the search term to its last command line arg.
Also stopped filtering of zero score items when no
search term is passed. This was causing weird behaviour in ctrlp.

I'm assuming ctrlp has some logic which assumes that if a
term produces no matches then adding characters to that term will
still produce no matches. So when matcher returns no matches initially
then adding characters will not cause ctrlp to update results.
Hence the behaviour where matches don't appear until backspace is pressed.
Fixes issue #14