ggreer/the_silver_searcher — pull request #72 by sjl (2012-09-21 16:24:34+00:00)
Title: Add case sensitive and smart case options.

Smart case acts like Ack's smart casing -- case sensitive if there are uppercase chars in the query, insensitive otherwise.

I also added an option for explicitly specifying case sensitive. That way you can always override earlier options which is really handy for aliases:

alias a='ag --smart-case ...other options I like...'

Then maybe later I want to do one case-sensitive search for an all-lowercase
query without retyping all my other favorite options:

a --case-sensitive foo