diff options
author | Hiltjo Posthuma <[email protected]> | 2016-04-30 11:54:33 +0200 |
---|---|---|
committer | Hiltjo Posthuma <[email protected]> | 2016-04-30 12:47:00 +0200 |
commit | 914880f31b04222fa2815f4f35543b72f881d5e4 (patch) | |
tree | a8b10d66a365f03cccd374f80f0c9840b9a877ab /style.css | |
parent | 0bc47da0f7b66614cdf499755ceca1dc13ff91cd (diff) | |
download | stagit-914880f31b04222fa2815f4f35543b72f881d5e4.tar.gz stagit-914880f31b04222fa2815f4f35543b72f881d5e4.zip |
optimization: read stats once and remember it
for an initial run and new commits this speeds stagit up a bit:
on an initial run of sbase goes from about 4 seconds to 2.8 on my machine.
now we can't use statsbuf, so create the stats string ourselves, while at it
color the + and - using a style (can be disabled for the color-haters out
there ;)).
Diffstat (limited to 'style.css')
-rw-r--r-- | style.css | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -79,10 +79,12 @@ pre a.h { color: #00a; } +span.i, pre a.i { color: #070; } +span.d, pre a.d { color: #e00; } |