summaryrefslogtreecommitdiff
path: root/plugins/rails
diff options
context:
space:
mode:
authorCory Snider <corhere@gmail.com>2018-04-15 08:45:58 -0400
committerMarc Cornellà <marc.cornella@live.com>2018-04-15 14:45:58 +0200
commitf9d4a067ecb9d3fa65326e5e6a76649ccf65434c (patch)
treec3b44307b82832616e758de8dd9c0f85e37d7639 /plugins/rails
parent15d051c32b1b11d37b38c5f3e7a1491c4d859db0 (diff)
downloadzsh-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 'plugins/rails')
0 files changed, 0 insertions, 0 deletions