v0.7.0 #827
arxanas
announced in
Release notes
v0.7.0
#827
Replies: 1 comment 3 replies
-
Looks great! I'm a bit confused by #730, though. Can you elaborate on why that is the new default? I commonly reword the head commit, but almost never reword the entire stack at once |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
To install or update
git-branchless
, run the following:If you haven't already taken the user survey, please consider doing so!
Release highlights
git test
to help working with patch stacks. See the postgit test fix
,git test run --search
for details and demos.git test
now implements afix
subcommand to run formatters/linters/etc. on each commit and apply their changes.git test run
now implements linear, reverse-linear, and binary search.git reword
,git switch
, andgit record
; see below.Changelog
Added
git amend --reparent
option #646)git amend
now supports a--reparent
option to adjust the contents of a commit while keeping the children commits exactly the same.git branchless init
will now populate the internal commit graph structure, rather than waiting for the first invocation of agit branchless
subcommand.-I
/--insert
flag #725) Addedsiblings()
revset function to determine the siblings of a given commit.-I
/--insert
flag #725) Added an-I
/--insert
option togit record
to insert the new commit before all of the current commit's children.--detach
flag togit branchless switch
#763) Added a-d
/--detach
option togit branchless switch
to switch to a commit without checking out any associated branches (as might happen due to thebranchless.navigation.autoSwitchBranches
configuration variable), or to switch to a branch without checking it out.git test fix
subcommand #766) Added agit test fix
subcommand to apply formatters/linters/etc. to a set of commits.git test run --search
option #777) Added the--search
option togit test run
to search a set of commits using linear or binary search for the first commit(s) which cause the tests to fail.git test run --search
option #777)git test run
now aborts the overall test run when a test returns exit code127
.git test run --search
option #777)git test run
now sets theBRANCHLESS_TEST_COMMIT
andBRANCHLESS_TEST_COMMAND
environment variables when running the test command.tests.passed
,tests.failed
,tests.fixable
revsets #785) Addedtests.passed()
,tests.failed()
, andtests.fixable()
revset functions, whose results are populated bygit test
.--reverse
option togit smartlog
.Changed
stack() | @
#730) BREAKING: The default revset forgit reword
is nowstack() | @
instead of@
, to simultaneously reword all commits in the current stack.--detach
flag togit branchless switch
#763) BREAKING:git branchless switch
no longer implicitly opens the interactive commit selector when no target is provided. You must explicitly pass-i
/--interactive
to do so.--create
instead of--branch
#801) BREAKING: The parameter togit record
has been renamed from-b
/--branch
to-c
/--create
.git submit
now colorizes the names of the affected branches.--detach
flag togit branchless switch
#763) Runninggit branchless switch
with no arguments will switch to the branch associate with the current commit, if there is exactly one such branch and thebranchless.navigation.autoSwitchBranches
configuration variable is set totrue
.git reword
is now of the formCOMMIT_EDITMSG-*.txt
, which your editor can use to detect it as a Git commit message file.git test
progress and output has been changed.Fixed
git amend --reparent
option #646) Adjusted messaging during merge conflicts withgit move --in-memory
to be more accurate.git test run
now recovers from previously-failed tests instead of failing indefinitely in future runs.git submit
no longer force-pushes the current branch in the circumstance that all branches are currently up-to-date.git amend
now respects the--merge
option.git reword
now supports invoking editors with spaces in their names.post-applypatch
hook #724)git branchless init
now installs apost-applypatch
hook, for users ofgit am
.git branchless init
now respects a leading~
in thecore.hooksPath
configuration variable.git sync
, etc. now correctly clean up remote branch information for branches which have been merged upstream. Previously, the remote branch information would be left behind, which would cause future branches with the same names to incorrectly become associated with the old remote branch.git sync
will no longer attempt to resolve merge conflicts unless you pass--merge
. Previously, this could happen when attempting to sync merge commits.New Contributors
Thanks to the following first-time contributors!
If you're interested in contributing, check out the Developer Guide in the Wiki, or post in the Discussions or Discord server to ask any questions.
This discussion was created from the release v0.7.0.
Beta Was this translation helpful? Give feedback.
All reactions