Subject: CVS commit: pkgsrc/devel/lazygit
From: pin
Date: 2025-02-24 11:11:03
Message id: 20250224101103.A0894FBE1@cvs.NetBSD.org

Log Message:
devel/lazygit: update to 0.47.1

v0.47.1
Maintenance ⚙️
    Fix race condition with reselecting the focused branch and rendering by \ 
@stefanhaller in #4268

v0.46.0

It's time for another Lazygit release! Thanks to all who contributed to this release.
What's Changed
Enhancements 🔥

    Preserve pending commit message when closing/re-opening by @AzraelSec in #4191
    Swap position of checkout-commit and checkout-branch menu items by \ 
@stefanhaller in #4238
        In a previous release we had made it so that when you press space on a \ 
commit, the first option in the menu was to check out the corresponding branch, \ 
rather than the commit itself. We've made it so that now the first option is to \ 
check out the commit itself, for the sake of everybody's muscle memory.
    Allow user to filter the files view to only show untracked files by \ 
@jesseduffield in #4226
    Expose {{.SelectedCommitRange}} to custom commands by @stefanhaller in #4204
    Show background fetch status in bottom line by @stefanhaller in #4215
    Support copying tags to clipboard by @brunofjesus in #4218
    Add option to delete local and remote tag by @AnvarU in #4217
    Show confirmation menu when trying to amend changes while there are \ 
conflicts by @stefanhaller in #4222
    Improve error reporting on config migration by @kas2020-commits in #4210
    Show files filter status by @stefanhaller in #4230
    Improve contrast of highlighted search results by @stefanhaller in #4242

Fixes 🔧

    Don't try killing processes if we already know the command finished by \ 
@brandondong in #4231
        We believe this was causing all sorts of problems for windows users.
    Add '--' to 'git rev-list' to disambiguate branch name from path by @efussi \ 
in #4185
    Fix adding blank line at end of commit message by @stefanhaller in #4182
    Fix checking out a different branch while pushing a branch for the first \ 
time by @stefanhaller in #4214
    Fix tag being truncated when copying to clipboard by @brunofjesus in #4232
    Disable staging and unstaging lines or hunks when the diff context size is 0 \ 
by @stefanhaller in #4235
    Fix incorrect stash diff after rename by @brandondong in #4213
    Fix possible crash when deleting a branch while filtering is active by \ 
@stefanhaller in #4195
    Fix pasting multi-line text into commit message panel by @stefanhaller in #4234
    fix: properly detect icon for BAZEL and WORKSPACE files by @PeterCardenas in \ 
#4252
    Fix json schema for context of CustomCommand by @stefanhaller in #4255

Maintenance ⚙️

    Bump go-deadlock version to fix crash with go 1.23 in debug mode by \ 
@ChrisMcD1 in #4248
    Fix auto-release workflow by @jesseduffield in #4265

I18n 🌎

    Update translations; includes a new Portuguese translation by @stefanhaller \ 
in #4250

v0.45.2
What's Changed
Enhancements 🔥

    Add ability to configure branch color patterns using regex by @mtrajano in #4130
    Collapse/uncollapse all files in tree by @mtrajano in #4131
    Improve undo action to restore files upon undoing a commit by @gabriellanata \ 
in #4167

Fixes 🔧

    Bump gocui (and tcell) by @stefanhaller in #4166

Maintenance ⚙️

    Cut a new release automatically each month by @jesseduffield in #4146
    Bump tcell to fix broken deployment by @jesseduffield in #4178

v0.45.0

Lots of great improvements in this one! Thanks to all the contributors who \ 
helped make this release happen.

Apologies for the long waits between releases. As of #4146 we're now (almost) \ 
guaranteed to do monthly releases.
What's Changed
Enhancements 🔥

    Better branch delete confirmation by @stefanhaller in #3915
    Add a menu item to delete both local and remote branch at once by \ 
@stefanhaller in #3916
    Auto-render hyperlinks by @stefanhaller in #3914
    Allow pasting commits multiple times by @stefanhaller in #3983
    Add config option to disable switching tabs with panel jump keys (and \ 
disable by default) by @hgreenstein in #3927
        We jumped the gun on this change in the last release: having the number \ 
key both select a panel and switch tabs was bad for muscle memory so it's that \ 
behaviour is now disabled by default.
    Add new filter to only show tracked files in Files panel by @veremenko-y in #4024
    Allow DiffContextSize to be decreased to zero by @LuxxxLucy in #4050
    Allow user to select remote and branch when creating a PR by @moha-gh in #1889
    Delete range selection of branches by @stefanhaller in #4073
    Show the number of lines changed per file in working file tree view by \ 
@johannaschwarz in #4015
    Drop merge commits by @stefanhaller in #4094
    Wrap lines in staging view by @stefanhaller in #4098
    Allow to switch branches in Commit View (#4115) by @seflue in #4117
    Allow on prem Azure DevOps Server pull request by @waynebowie99 in #3954
    Add screen-mode command line argument by @alewis001 in #4103
    Default to half-screen mode when opening with certain CLI args by \ 
@jesseduffield in #4141
    Show the alt-enter keybinding at bottom of commit description view by \ 
@stefanhaller in #4136
    Add number of commits to cherry-pick confirmation prompt by @brandondong in #4158

Fixes 🔧

    Fix copying commit author to clipboard by @stefanhaller in #3936
    Fix merge conflict resolution when file doesn't end with a LF by \ 
@stefanhaller in #3976
    Fix file icons by @stefanhaller in #3975
    Fix non-sticky range select after clicking in staging view by @stefanhaller \ 
in #3998
    Fix scroll position when entering staging view by clicking in the main view \ 
by @stefanhaller in #3992
    Fix mouse wheel scrolling of custom patch view by @stefanhaller in #4089
    Improve editing a commit by @stefanhaller in #4090
    Use custom context size in range diff by @stefanhaller in #4082
    commits panel: add missing default sort order by @phanirithvij in #4097
    Fix issues with opening links and files using WSL by @bottino in #3850
    Fix moving a commit across a branch boundary in a stack of branches by \ 
@stefanhaller in #4096
    Don't preserve commit message when it's unchanged from initial message by \ 
@stefanhaller in #4110
    Fix hang when returning from shell command by @stefanhaller in #4126
    Prevent killing of unrelated processes on windows by @jesseduffield in #4137
    Add worktree option to fast forwarding operation by @john-mutuma in #4051
    Don't show keybindings option in bottom line when panel is open by \ 
@stefanhaller in #4143
    Fix reset/rebase to upstream by @stefanhaller in #4151
    Avoid blank line at end of view by @stefanhaller in #4152
    Adjust line number for working copy when editing a line by @stefanhaller in #4119
    Fix micro editor preset by @kytta in #4156
    Use interactive shell for running shell commands only if shell is bash or \ 
zsh by @stefanhaller in #4159

Maintenance ⚙️

    Add performance improvements section to release notes by @jesseduffield in #3922
    ci: update upload-artifact and download-artifact actions to v4 by @Juneezee \ 
in #4063
    Let schema/config.json end with a line feed by @stefanhaller in #4092
    Saner view geometry by @stefanhaller in #4085
    Cleanup background fetch by @stefanhaller in #4084
    remove duplicate secondary MouseWheelUp keybind by @samueldominguez in #4120
    enhancement: Use HEX colors on file icons instead of C256 colors by \ 
@hasecilu in #4029
    chore: use errors.New to replace fmt.Errorf with no parameters by @RiceChuan \ 
in #4107
    Fix typos by @NathanBaulch in #3920
    Bump crypto and net packages by @jesseduffield in #4144
    Tweak file icons by @jesseduffield in #4145
    Standardise on 'screen mode' naming convention by @jesseduffield in #4142

Docs 📖

    Fix installation for Ubuntu in README.md by @shaobosong in #4031
    Fixes to lazygit Ubuntu install instructions in README.md by @wrecklass in #3970
    Fix typos by @skoch13 in #4121
    Add vision and design principles doc by @jesseduffield in #4053
    docs: Stylize and correct the NixOS section in README.md by @wadsaek in #4135
    Update chinese translation for pull requests by @jesseduffield in #4140
    Set repology table to 3 columns by @hasecilu in #4138
    Update instructions for using OSC52 with tmux by @EliasA5 in #3597
    Update docs to describe use of custom commands without keybindings by \ 
@a-jentleman in #3846
    documentation - describe os.openLink by @smangels in #3094
    Clarify commit message prefix mechanics by @zeromask1337 in #4114

v0.44.1
What's Changed
Enhancements 🔥

    With stacked branches, create fixup commit at the end of the branch it \ 
belongs to by @stefanhaller in #3892
    Add options for disabling switching to the Files panel after popping or \ 
applying a stash by @stefanhaller in #3913

Fixes 🔧

    Fix crash when viewing the divergence of a branch which is up to date with \ 
its upstream by @stefanhaller in #3918

Performance improvements 📊

    Improve performance with large numbers of untracked or modified files by \ 
@parthokunda in #3919

I18n 🌎

    Update language files from Crowdin by @stefanhaller in #3898

v0.44.0
What's Changed

Lots of great changes in this release. Thanks to everybody who contributed!
Enhancements 🔥

    Per-repo config files (and reloading of edited config files) by \ 
@stefanhaller in #3787
        In addition to the global config file you can now create repo-specific \ 
config files in <repo>/.git/lazygit.yml. Settings in these files override \ 
settings in the global config file. In addition, files called .lazygit.yml in \ 
any of the parent directories of a repo will also be loaded; this can be useful \ 
if you have settings that you want to apply to a group of repositories.
        We now also automatically apply (most) config changes without the need \ 
to restart lazygit
    Easily view diff across range of commits by @stefanhaller in #3869
        If you select a range of commits, we now show the diff across the range \ 
(inclusive). This makes it easy to see the total changes across a number of \ 
commits. Likewise, if you press enter when a range of commits are selected, we \ 
will show the changed files for the range.
        Support hyperlinks from pagers by @stefanhaller in #3825
        If you're using delta as a pager (which I highly recommend trying), you \ 
can now click on line numbers to go to that line in your editor by using the \ 
following config:
        Switch to Files panel after popping/applying a stash by @stefanhaller in \ 
#3888

    This is a nice quality of life improvement. You generally want to go \ 
straight to the files panel after you pop or apply from the stash

Ask to auto-stage unstaged files when continuing a rebase after resolving \ 
conflicts by @stefanhaller in #3879

    Another quality of life improvement: often you resolve some conflicts, then \ 
make another couple changes, then in lazygit you say to continue and you get an \ 
error saying there are unstaged changes. Now instead of showing an error, \ 
lazygit asks if you want to stage those changes and continue.

Offer autostash option when creating new branch by @brandondong in #3871

    Another great quality of life improvement

Allow using shell aliases in interactive custom commands by @stefanhaller in #3793
Switch tabs with panel jump keys by @stefanhaller in #3794

    If you've already been using the number keys (1-5) for jumping to specific \ 
side panels, you'll be pleased to know that you can now also use those keys for \ 
jumping to tabs within a side panel. E.g. to go to the reflog panel, you can now \ 
press 4 to jump to the commits panel, then 4 again to go to the reflog tab.

Rename "Custom Command" to "Shell Command" by @stefanhaller \ 
in #3800

    There are two ways of invoking a 'custom' command in Lazygit: first by \ 
pre-defining a command in your config, and second by pressing ':' and typing in \ 
the command directly. We referred to both of these as 'custom commands' which \ 
was confusing. We now refer to the second approach as invoking a 'shell \ 
command'.

Improve template placeholders for custom commands by @stefanhaller in #3809

    Now you can use SelectedCommit to refer to the selected commit regardless of \ 
which commits panel you're in (local commits, reflog, etc)
    Likewise, you can use SelectedPath whether you're in the files panel or the \ 
commit-files panel.

feat(custom command): support multiple contexts within one command by @yam-liu \ 
in #3784

    You can now use a comma-separated list of contexts for which a custom \ 
command can be invoked. For example:

    Improve mouse support for commit message panel by @stefanhaller in #3836
    Make auto-staging resolved conflicts optional by @stefanhaller in #3870
        If you set git.autoStageResolvedConflicts to false in your config, \ 
lazygit will no longer auto-stage files in which you've resolved merge \ 
conflicts.
    Allow using </> and ,/. in sticky range select mode in patch explorer \ 
by @stefanhaller in #3837
    Add Zed editor support to editorPreset by @susl in #3886

Fixes 🔧

    Allow GPG reword for last commit by @Neko-Box-Coder in #3815
    Don't exit app when GetRepoPaths call fails during startup by @ppoum in #3779
    Fix lack of icon when extension isn't lowercase by @hasecilu in #3810
    Fix redraw bug (stale content) in commits view by @stefanhaller in #3783
    Fix line coloring when using the delta pager by @stefanhaller in #3820
    Fix pressing escape after clicking in diff view by @stefanhaller in #3828
    Fix fast-forward issue caused by a conflicting tag name @Neko-Box-Coder in #3807
    Fix range select -> stage failure when deleted file is already staged by \ 
@brandondong in #3631
    Scroll views up if needed to show all their content by @stefanhaller in #3839
    Fix crash when filtering commits by @stefanhaller in #3838
    Fix cancelled autostash resulting in stuck inline status by @brandondong in #3860
    Don't allow opening a menu while the search or filter prompt is open by \ 
@stefanhaller in #3878

Maintenance ⚙️

    Reapply "Check for fixup commits on CI" by @stefanhaller in #3745
    Some cleanups for APIs related to contexts by @stefanhaller in #3808
    Improve fixup commits script by @jesseduffield in #3853
    Fix linter warnings by @stefanhaller in #3854
    Add codespell support (config, workflow to detect/not fix) and make it fix \ 
few typos by @yarikoptic in #3751
    Get rid of a lot of error return values by @stefanhaller in #3890
    Add a readme file for the JSON files in pkg/i18n/translations by \ 
@stefanhaller in #3781

Files:
RevisionActionfile
1.47modifypkgsrc/devel/lazygit/Makefile
1.9modifypkgsrc/devel/lazygit/distinfo
1.7modifypkgsrc/devel/lazygit/go-modules.mk