models.main: Optimize the everything() method
commit5fe0bfdf6a956d49a7c4023f811d928d5439cf14
authorDavid Aguilar <davvid@gmail.com>
Tue, 20 Oct 2009 06:27:53 +0000 (19 23:27 -0700)
committerDavid Aguilar <davvid@gmail.com>
Tue, 20 Oct 2009 09:18:58 +0000 (20 02:18 -0700)
tree0e9f7e83b6a53f30320e64d061d91399baf1d11a
parentd42b2d4cc5aeaf7db44cd997b395a5b059755cda
models.main: Optimize the everything() method

We don't need to call strip() if we can omit the last character.
We don't need to sort files since users might expect git's
ignore-dot-files order.

Signed-off-by: David Aguilar <davvid@gmail.com>
cola/models/main.py