chiark / gitweb /
Compile regexp just once
authorKarl Hasselström <kha@treskal.com>
Sat, 25 Aug 2007 18:10:38 +0000 (20:10 +0200)
committerKarl Hasselström <kha@treskal.com>
Sun, 26 Aug 2007 19:55:37 +0000 (21:55 +0200)
commit216a1524c4acbd9952ffaeec054e30cf14dde5fc
treef6e0e9cd0a6ff1773850ef59c9ec1c677867290f
parent82792b453d94f72aedcd65a40bd72f12785ee2d9
Compile regexp just once

It's a waste of time to recompile the same regexp every time we go
through the loop.

Signed-off-by: Karl Hasselström <kha@treskal.com>
stgit/git.py