Releases: wfxr/forgit
Releases · wfxr/forgit
26.01.0
Changes since 25.12.0:
- Fix: preview for clean when file names contain backslashes (#465)
This is a breaking change: flag arguments provided to forgit clean are
now passed to git ls-files instead of git clean -n. This change is
necessary because git clean does not have a -z option that would prevent
it from escaping file names containing backslashes. However, git ls-files
is way more flexible than git clean, so all use cases covered by git
clean (and more) should still be possible. - Feature: allow configuring arguments of git ls-files in forgit clean (#481)
- Feature: add interactive git switch selector (#472)
- Feature: add empty state messages for checkout commands (#478)
Show informative messages when there is nothing to checkout:- checkout_file: "Nothing to checkout." when no modified files
- checkout_tag: "Nothing to checkout: there are no tags."
- ci: use stable bashunit version (#486)
- test: ignore global git config when running tests (#485)
- fix: forgit add shows dir view for submodules (#484)
25.12.0
Changes since 25.10.0:
- Chore(deps): Bump actions/checkout from 5 to 6
Bumps actions/checkout from 5 to 6.
updated-dependencies:- dependency-name: actions/checkout
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
- dependency-name: actions/checkout
25.11.0
Changes since 25.09.0:
- Refactor: Move global code into a main function (#464)
This is a prequisite for being able to source the script in order to
implement unit tests for individual functions. - Chore: Do not execute any code when forgit is sourced (#464)
In order to run unit tests for individual functions we have to be able
to source the script without triggering the main execution flow. - Refactor: extract function to remove status from diff line (#464)
25.10.0
Changes since 25.09.0:
- Refactor: Move global code into a main function (#464)
This is a prequisite for being able to source the script in order to
implement unit tests for individual functions. - Chore: Do not execute any code when forgit is sourced (#464)
In order to run unit tests for individual functions we have to be able
to source the script without triggering the main execution flow. - Refactor: extract function to remove status from diff line (#464)
25.09.0
Changes since 25.08.0:
- Chore(deps): Bump actions/download-artifact from 4 to 5 (#462)
Bumps actions/download-artifact from 4 to 5.
updated-dependencies:- dependency-name: actions/download-artifact
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
- dependency-name: actions/download-artifact
25.08.0
Changes since 25.07.0:
- Feat: allow passing arguments to git add (#452)
- Feate: allow passing arguments to git checkout file (#451)
- Feat: Use forgit show in stash_show enter (#450)
Instead of using `git stash show` in the `enter` binding of the
`stash_show` command, use `forgit show`. This allows forgit to show the
stash in the same interactive way it shows other commits (e.g. on
`forgit log`), with the same context and formatting options. - Refactor: Remove unnecessary xargs in git show commands
- Fix: remove explicit -u flag in git status command in _forgit_add (#455)
git status includes untracked files by default, so passing the flag
explicitly is not necessary. This allows overriding forgits behavior
by setting showUntrackedFiles = no in the .gitconfig. - Fix: bash completions for reword
- Feat: use git log completions for fixup commands
- Fix: early out with non-file arguments in checkout file (#456)
- Fix: files in untracked directories are not shown in git add
Pass the value of git config status.showUntrackedFiles to the git status
command we run in _forgit_add, defaulting to 'all' when unset.
Additionally correctly handle directories in _forgit_add_preview for the
case when status.showUntracked is explicitly set to 'normal'. - Fix: use github/gitignore for ignore files (#461)
The repo we originally used has gone away
25.07.0
Changes since 25.06.0:
- Refactor: do not disable shellcheck 2230
It is optional with ubuntu 24.04 and disabled by default. - Docs: improve completion docs and move them to the top
- Fix: allow filtering by files in fixup, squash and reword (#448)
This reverts commit 3f694f6 and adds the same filtering option to reword.
25.06.0
Changes since 25.05.0:
- Fix: use FORGIT_SHOW_FZF_OPTS in _forgit_show (#437)
- Fix: prefix all commands in forgit.plugin.zsh (#439)
* Fix: prefix all commands in forgit.plugin.zsh
This prevents the wrong commands getting executed in case a user added a
shell alias with the same name.
* Fix: prefix built-ins - Feature: add interactive squash selector (#440)
- Refactor: Do not pass files to fixup and squash (#442)
Similar to 09f17c9, this removes the option to pass files to the fixup
and squash functions. There is no need to do so. - Feature: add interactive reword selector (#443)
25.05.0
25.03.0
Changes since 25.02.0:
- Refactor: Remove _forgit_ignore_clean (#421)
- Refactor: Make functions interacting with repositories reusable
- Feature: Add interactive git attributes generator
- Allow passing arguments to git rebase (#422)
If non-option arguments are passed to `git forgit rebase`, pass them
through directly to `git rebase`, without launching the interactive
selector, just like we do for other forgit commands.
Along with this, remove possibility to pass files to rebase, as there is
no need for that. I assume this was a copy-paste error when the
rebase function was introduced in the first place. - Update README.md (#425)
Adding sheldon.cli configuration for zsh as an example.