Commit a791a24
committed
v0.3.0 — Correctness and streamlined dependencies
- Adjust `Display` format of `LocalRepoError::CommandFailed` to use the std `ExitStatus` Display
- Do not suppress stderr from executed Git commands (except for the command run by `LocalRepo::is_git_repo()`)
- CLI: Do not emit a redundant error message when `git remote get-url` fails
- Drop serde, serde-json, fancy-regex, and lazy-static dependencies
- Remove the `GH_OWNER_RGX` and `GH_NAME_RGX` constants
- Properly follow RFC 3986 when parsing username & password fields in `www.github.com` URLs
- Correct the accepted format for URLs that start with `ssh://` (They need to separate the hostname from the path with a slash rather than a colon)
- Schemes & hostnames in URLs are now parsed case-insensitively
- Switch from clap to lexopt
- `LocalRepo::for_cwd()` now returns a new dedicated variant of `LocalRepoError` if the call to `std::env::current_dir()` fails1 parent dbc468f commit a791a24
4 files changed
+5
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
| 1 | + | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
0 commit comments