diff options
author | Cory Snider <corhere@gmail.com> | 2018-04-15 08:45:58 -0400 |
---|---|---|
committer | Marc Cornellà <marc.cornella@live.com> | 2018-04-15 14:45:58 +0200 |
commit | f9d4a067ecb9d3fa65326e5e6a76649ccf65434c (patch) | |
tree | c3b44307b82832616e758de8dd9c0f85e37d7639 /themes/tjkirch.zsh-theme | |
parent | 15d051c32b1b11d37b38c5f3e7a1491c4d859db0 (diff) | |
download | zsh-f9d4a067ecb9d3fa65326e5e6a76649ccf65434c.tar.gz zsh-f9d4a067ecb9d3fa65326e5e6a76649ccf65434c.tar.bz2 zsh-f9d4a067ecb9d3fa65326e5e6a76649ccf65434c.zip |
Reduce number of git calls when displaying prompt (#3795)
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.
Diffstat (limited to 'themes/tjkirch.zsh-theme')
0 files changed, 0 insertions, 0 deletions