Exclude submodules from modified_files

The command to extract modified files currently includes any added
submodule directories. This confuses checks such as the whitespace
checker, which tries to run a `git diff` on them producing messages
such as `bad object :libs/iberty`.

Including submodule directories in the list of modified _files_ doesn't
seem useful, as a submodule isn't a file.

Add the `--ignore-submodules=all` flag to the `git diff` call in
`modified_files` to fix the problem.

Change-Id: Id39414545e57fb0c35e001b7cd90c25c93666f98
Reviewed-on: https://gerrit.causes.com/30773
Tested-by: jenkins <jenkins@causes.com>
Reviewed-by: Joe Lencioni <joe.lencioni@causes.com>
Cut version 0.4.0

Change-Id: Ib7eed9efb1b2e839111ec767fe1707b934271fa1
Reviewed-on: https://gerrit.causes.com/30778
Tested-by: jenkins <jenkins@causes.com>
Reviewed-by: Shane da Silva <shane@causes.com>
Remove RestrictedPaths check

This check doesn't belong in Overcommit, and should instead be moved to
the individual repository that needs it, as is specific to a Rails
application, and Overcommit should not be specific to Rails apps.

Change-Id: I31b61910e061e4da0454ce72451f5b7dad8bdf99
Reviewed-on: https://gerrit.causes.com/30850
Tested-by: jenkins <jenkins@causes.com>
Reviewed-by: Greg Hurrell <greg@causes.com>
Cut version 0.4.1

Change-Id: I6da585539c0668850b609f89f6db045fc0981cfc
Reviewed-on: https://gerrit.causes.com/30851
Tested-by: jenkins <jenkins@causes.com>
Reviewed-by: Greg Hurrell <greg@causes.com>
Use https URL in license file

Now that Causes is https everywhere, we may as well prevent a redirect
for those following this URL.

Change-Id: I26c52f36774a891a89eabe5f41f4e2946b205dca
Reviewed-on: https://gerrit.causes.com/31476
Tested-by: jenkins <jenkins@causes.com>
Reviewed-by: Joe Lencioni <joe.lencioni@causes.com>
Respect scss-lint config files

Now that `scss-lint` supports config file loading, we need to match
the behavior of the `RubyStyle` pre-commit check and make sure that the
appropriate configuration file is passed to `scss-lint` for a given
file.

Change-Id: Ie451ae9c782418ff23f1243fca94c3aff7489d7b
Reviewed-on: https://gerrit.causes.com/31580
Tested-by: jenkins <jenkins@causes.com>
Reviewed-by: Shane da Silva <shane@causes.com>
Cut version 0.5.0

Change-Id: Ie7d4028b3829b912344b635455d3e6c712b599d8
Reviewed-on: https://gerrit.causes.com/31581
Tested-by: jenkins <jenkins@causes.com>
Reviewed-by: Shane da Silva <shane@causes.com>