Skip to content

Commit

Permalink
devel/git-branchless: update to 0.9.0
Browse files Browse the repository at this point in the history
Release highlights

    The Apache and MIT license files are now distributed with all git-branchless sub-crates as required.
    Rust v1.74 or later is required to build.
    There are breaking changes to git hide and git sync; see below.
    Broken support for native Windows/Powershell due to bad hook invocations was probably fixed.
        If this was affecting you, please comment on #370 to confirm or refute.
    New merges() and branches() revset functions were introduced.

Changelog

See also the release notes for scm-record v0.3.0.
Added

    (#1129) Added a --dry-run option to git submit to report what would be submitted without actually doing so.
    (#1130) Added merges() revset function.
    (#1130) The branches() revset function now accepts an optional text pattern argument to limit which branches are matched.
    (#1150) The git record command now accepts -s/--stash to return to the previous commit immediately after committing.
    (#1167) The commit message for a new commit can now be written/edited during git record --interactive.
    (#1169) git record now accepts multiple --message arguments.
    (#1184) An initial Github forge was implemented as git submit --forge github, but it's too buggy for general use.
    (#1241) git smartlog now accepts --exact to skip rendering HEAD and the main branch.
    (#1244) git submit now accepts multiple arguments/revsets.

Changed

    BREAKING (#1128) Arguments/revsets passed to git sync are now resolved to their respective stacks.
        This allows git sync my-branch to work as expected, instead of needing to use git sync 'stack(my-branch)'. The behavior of git sync when called without arguments is not affected by this change. If you rely on the previous behavior, please use git move -x <commit(s)/revset> -d 'main()' instead.
    BREAKING (#1152) Previously, git hide would not delete branches pointing to the hidden commits unless -D/--delete-branches was passed. Now, deleting branches is the default behavior. Pass --no-delete-branches to restore the old behavior.
    BREAKING (#1292): The minimum supported Rust version (MSRV) is now 1.74.
    (#1204) The default instructions for git reword are now wrapped to 72 characters.
    (#1230) The icon for omitted commits in the smartlog was changed from ⊘ to ◌.

Fixed

    (#1071) The Apache and MIT licenses are now distributed with each constituent crate, not just the top-level git-branchless crate.
    (#1072) The current branch is no longer detached during git amend when the current commit has descendants.
    (#1073) Merge commits can now be amended with git amend.
    (#1095) The event log is now shared between all worktrees. Before, commits that were made in one worktree wouldn't be visible in other worktrees, etc.
    (#1095) git submit now runs in worktree that you invoked it in.
    (#1095) git submit --forge phabricator no longer records spurious commits when arc diffing.
    (#1127) Improved support for files with spaces in their name.
    (#1267) The correct "path" variable is now used on Windows, which fixes some cases of git-branchless failing on native Windows.
  • Loading branch information
0323pin committed Jul 31, 2024
1 parent 8ce98d5 commit e18f84e
Show file tree
Hide file tree
Showing 3 changed files with 806 additions and 732 deletions.
8 changes: 5 additions & 3 deletions devel/git-branchless/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# $NetBSD: Makefile,v 1.11 2024/05/29 16:32:02 adam Exp $
# $NetBSD: Makefile,v 1.12 2024/07/31 17:54:21 pin Exp $

DISTNAME= git-branchless-0.8.0
PKGREVISION= 5
DISTNAME= git-branchless-0.9.0
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GITHUB:=arxanas/}
GITHUB_TAG= v${PKGVERSION_NOREV}
Expand All @@ -13,6 +12,9 @@ LICENSE= mit OR apache-2.0

.include "cargo-depends.mk"

#RUST_REQ 1.79.0
#Upstream does not state the required MSRV.
#This package is confirmed to build with Rust 1.79.0 on amd64
USE_TOOLS+= pkg-config

INSTALLATION_DIRS= bin
Expand Down
Loading

0 comments on commit e18f84e

Please sign in to comment.