Skip to content
Commit f9d4a067 authored by Cory Snider's avatar Cory Snider Committed by Marc Cornellà
Browse files

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.
parent 15d051c3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment