-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
version string is malformed when using cargo install
#789
Labels
bug
A bug.
Comments
FYI, the official Homebrew version of |
BurntSushi
added a commit
that referenced
this issue
Feb 21, 2018
If the revision is empty, then we shouldn't show the `(rev )` text in the output of `rg --version`. Fixes #789
Merged
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When running
cargo install ripgrep
, the git hash in the version string is improperly formatted. In this case, we should just omit the revision identifier altogether.Example:
We should probably improve how we use
git
to get the hash. e.g., What happens if you compile ripgrep from its git source, but outside the git repo itself?The text was updated successfully, but these errors were encountered: