git test fix, git test run --search
#803
arxanas
started this conversation in
Show and tell
Replies: 1 comment
-
|
Kudos on |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
git testhas several exciting new features in the upcoming v0.7! Your feedback is appreciated, especially as we introduce a similarjj runcommand to Jujutsu.Fixing
One common task is to apply formatters or linters to an entire stack of commits. This can be tedious to do by hand, especially because formatting changes tend to cause lots of merge conflicts.
git test fixaddresses this use-case while guaranteeing no merge conflicts. It also caches results and can be parallelized with the--jobsoption.Here's a demo of running rustfmt on all of the commits in a stack:
git-test-fix.mov
Searching
git test runimplements a search feature with the--search <strategy>option. (For the common case of doing a binary search, you can also pass-b/--bisectas a shorthand.)Here's a demo (where the test command is implicitly
cargo clippy):git-test-bisect.mov
And here's another demo where the search is parallelized with the
--jobsoption:git-bisect-j2-v2.mov
In comparison to
git bisect:-i/--interactiveflag.Beta Was this translation helpful? Give feedback.
All reactions