Commit graph

4 commits

Author SHA1 Message Date
Cory Snider
d79e7d5073 Reduce number of git calls when displaying prompt
The avit theme's _git_time_since_commit function was running git twice.
Reduce it with a single call to `git log`, checking the exit code for
success.
2015-10-20 22:56:31 -04:00
Samuel Parkinson
de56943a0e Improved the _git_time_since_commit function.
Check for at least one commit using a `git log` limit of one.

Improves the performance inside git repos with a large history.
2015-06-10 14:36:53 +02:00
Dan Kerimdzhanov
c249c69065 Remove all copyright information in themes. Closes #2587 2014-03-08 23:51:59 +06:00
Andrew Vit
3fea7c3b27 Added avit theme 2012-07-19 03:03:18 -07:00