Skip to content

Commit

Permalink
Improve output of '--version'
Browse files Browse the repository at this point in the history
  • Loading branch information
anishathalye committed Jul 9, 2023
1 parent 53b3781 commit ed60c62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dotbot/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def main():
["git", "rev-parse", "HEAD"],
cwd=os.path.dirname(os.path.abspath(__file__)),
stderr=devnull,
)
).decode("ascii")
hash_msg = " (git %s)" % git_hash[:10]
except (OSError, subprocess.CalledProcessError):
hash_msg = ""
Expand Down

0 comments on commit ed60c62

Please sign in to comment.