-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: clap-rs/clap
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v4.4.11
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: clap-rs/clap
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v4.4.12
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 10 commits
- 25 files changed
- 2 contributors
Commits on Dec 27, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 3724b9e - Browse repository at this point
Copy the full SHA 3724b9eView commit details -
Merge pull request #5273 from epage/docsrs
docs: Include more content on docs.rs
1Configuration menu - View commit details
-
Copy full SHA for 3630e58 - Browse repository at this point
Copy the full SHA 3630e58View commit details -
1
Configuration menu - View commit details
-
Copy full SHA for 76beca4 - Browse repository at this point
Copy the full SHA 76beca4View commit details -
1
Configuration menu - View commit details
-
Copy full SHA for ace7bb5 - Browse repository at this point
Copy the full SHA ace7bb5View commit details -
1
Configuration menu - View commit details
-
Copy full SHA for 28763eb - Browse repository at this point
Copy the full SHA 28763ebView commit details -
1
Configuration menu - View commit details
-
Copy full SHA for 2920808 - Browse repository at this point
Copy the full SHA 2920808View commit details
Commits on Dec 28, 2023
-
perf: Avoid retrieving possible_values unless used
In some sophisticated situations, these may be expensive to calculate. One example might be a '--branch' option accepting any single Git branch that exists on the remote -- in such a case, the remote would need to be queried for all possible_values. The cost is ultimately unavoidable at runtime since this validation has to happen eventually, but there's no need to pay it when generating help text if `is_hide_possible_values_set`. To keep '-h' fast, avoid collecting `possible_values` during '-h' unless we're actually going to use the values in display. This optimization is repeated for the manpage renderer. This is trivially based on the short-circuiting logic at [1], which at least supports the idea that actually consuming the iterator is not generally-guaranteed behavior when `hide_possible_values` is set. Note on the 'expensive' mod: This keeps all the possible_values tests in one file but allows the entire set of tests to be controlled by the 'strings' feature (which is required to be able to use String rather than str for each possible value). [1]: clap_builder/src/builder/command.rs:long_help_exists_
Configuration menu - View commit details
-
Copy full SHA for 05cd057 - Browse repository at this point
Copy the full SHA 05cd057View commit details -
Merge pull request #5267 from vermiculus/sa/avoid-pv-expansion-in-help
perf: avoid retrieving possible_values unless they're used
1Configuration menu - View commit details
-
Copy full SHA for 53f5b82 - Browse repository at this point
Copy the full SHA 53f5b82View commit details -
1
Configuration menu - View commit details
-
Copy full SHA for 048e7f0 - Browse repository at this point
Copy the full SHA 048e7f0View commit details -
1
Configuration menu - View commit details
-
Copy full SHA for 6d601e6 - Browse repository at this point
Copy the full SHA 6d601e6View commit details
Loading
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v4.4.11...v4.4.12