Skip to content

Bump git from 5.6.0 to 6.0.0 - #37

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bundler/git-6.0.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bundler/git-6.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 13, 2026

Copy link
Copy Markdown
Contributor

Bumps git from 5.6.0 to 6.0.0.

Release notes

Sourced from git's releases.

v6.0.0

6.0.0 (2026-10-28)

⚠ BREAKING CHANGES

  • Git::Repository no longer defines object_contents, object_size, object_type, commit_data, tag_data, revparse, namerev, or diff_name_status. Call cat_file_contents, cat_file_size, cat_file_type, cat_file_commit, cat_file_tag, rev_parse, name_rev, and diff_path_status instead.
  • errors: the minimum activesupport version is now 7.0.9 (was 5.0).
  • deprecation: Git::Deprecation.deprecation_horizon is now "in a future major release" (was "6.0.0"). Code that parses it as a version raises.
  • factories: raise ArgumentError when Git.init receives an unknown option key
  • factories: raise ArgumentError when Git.open or Git.bare receives an unknown option key
  • factories: Git.init and Git.clone expand a ~-prefixed directory and a ~-prefixed :repository option to the home directory instead of passing the literal ~ to git. Git.clone also expands a ~-prefixed :chdir option.
  • path_resolver: a relative :repository or :index option passed to a factory method is expanded against the process working directory instead of the working directory or git directory. Callers who relied on the old expansion pass the joined path explicitly.
  • repository: Git::Repository#archive raises Git::Error instead of a Zlib::Error subclass when gzip compression fails; the Zlib::Error is available through cause.
  • stash: Git::Repository#stash_store raises Git::UnexpectedResultError instead of returning nil when the stored commit is missing from the stash list.
  • tag: Git::Repository#tag_create raises Git::UnexpectedResultError instead of returning nil when the tag it created is missing from the tag list.
  • remote: Git::Remote is removed and referencing it raises NameError; Git::Repository no longer defines remote or config_remote. Use Git::Repository#remote_list, which returns ArrayGit::RemoteInfo, and the name-based remote operations; filter Git::Repository#config_list on the "remote.." key prefix for entries Git::RemoteInfo does not model.
  • branch: Git::Branch and Git::Branches are removed and referencing them raises NameError; Git::Repository no longer defines branch or branches, and Git::Remote no longer defines branch. Use Git::Repository#branch_list, which returns ArrayGit::BranchInfo, and the name-based branch operations.
  • worktree: Git::Worktree, Git::Worktrees, Git::Repository#worktree, Git::Repository#worktrees, and Git::Repository#worktrees_all are removed. Git::Repository#worktree_add returns a Git::WorktreeInfo instead of the git worktree add output String.
  • stash: Git::Stash, Git::Stashes, Git::Repository#stashes_all, and Git::Repository#stash_save are removed. Git::Repository#stash_list returns ArrayGit::StashInfo, newest first, instead of a String; stash_infos remains as an alias.
  • status: Git::Status and Git::Status::StatusFile are removed and referencing them raises NameError; Git::Repository no longer defines status. Use Git::Repository#status_info, which returns Git::StatusInfo holding one
  • author: Git::Author is removed; referencing it raises NameError. Use
  • Git::Repository no longer defines remotes; call remote_list (or remote_names) instead. Git::Branch no longer defines stashes; call Git::Repository#stash_infos instead. Git::Commands::CatFile::Raw no longer accepts the allow_unknown_type option and raises ArgumentError when it is passed; there is no replacement.
  • Git::Repository#config, Git::Repository#global_config, Git.global_config, and the config and global_config instance methods of the Git module no longer exist. Use config_get, config_set, and config_list (with
  • log: Git::Log no longer includes Enumerable or defines each, size, to_s, first, last, or []. Call Git::Log#execute and use the Git::Log::Result it returns. Git::Object::Commit no longer defines set_commit; call from_data instead.
  • repository: Git::Repository no longer defines empty?, reset_hard, conflicts, is_local_branch?, is_remote_branch?, is_branch?, or branches_all. Call no_commits?, reset(commitish, hard: true), each_conflict, local_branch?, remote_branch?, branch?, and branch_list instead.
  • repository: Git::Repository#clean no longer accepts :ff or :force_force, diff_path_status no longer accepts :path, and commit no longer accepts :add_all; each raises ArgumentError. set_working and set_index no longer take a positional check argument. Use force: 2, :path_limiter, :all, and must_exist: instead.
  • repository: with_index, with_temp_index, with_working, and with_temp_working raise ArgumentError when called without a block or with a block that declares no positional parameter. Declare the parameter and call methods on it. See UPGRADING.md.
  • repository: with_index, with_temp_index, with_working, and with_temp_working yield a separate Git::Repository bound to the temporary index or working tree instead of rebinding the receiver. Code that ignores the block parameter and calls the outer repository inside the block now runs against the original index or working tree; use the block parameter. See UPGRADING.md.
  • export: Git.export(url, dir, remote: name) raises ArgumentError instead of silently ignoring the option. Delete the option from the call; there is no replacement because the remote name was never observable in the exported tree.
  • Git.clone no longer accepts :path, :recursive, or :remote and raises ArgumentError when given one. Use :chdir, :recurse_submodules, and :origin instead.
  • Git.binary_version no longer exists; use Git.git_version (call .to_a for the legacy Array). Git.ls_remote(nil) raises ArgumentError; omit the argument or pass '.'.
  • The Git::Base constant no longer exists, so is_a?(Git::Base) checks and monkeypatches of Git::Base raise NameError. Include an application-owned module into Git::Repository instead.
  • Git::Repository#lib no longer exists. Call the facade method directly on the repository object.
  • Git::CommandLineResult no longer exists. Use
  • Git::Object::Tag no longer exists, Git::Repository no longer defines tag, tags, or tag_add, and Git::Object.new no longer accepts an is_tag argument. Use tag_list and tag_create on Git::Repository, which return
  • Git::Repository no longer defines add_remote, remove_remote, set_remote_url, add_tag, or delete_tag. Call remote_add, remote_remove, remote_set_url, tag_create, and tag_delete instead.
  • addressable 2.9.0 or later is required. Applications whose bundle caps addressable below 2.9.0 must update that dependency or stay on the latest v5.x release.
  • git 2.43.0 or later is required. Ubuntu 22.04 users must install a newer git or stay on v5.x.
  • Ruby 3.3.0 or later is required. Applications on Ruby 3.2 must upgrade Ruby or stay on the latest v5.x release.

Features

  • author: Remove Git::Author (315eec2), closes #1728
  • branch: Remove Git::Branch and Git::Branches (bbe3a83), closes #1723 #1631
  • export: Reject the :remote option to Git.export (6d46862), closes #1820
  • factories: Accept an :index option in Git.bare (333d609), closes #1868
  • factories: Raise ArgumentError when Git.init receives an unknown option key (0ffc8cd), closes #1913 #1869
  • factories: Raise ArgumentError when Git.open or Git.bare receives an unknown option key (3991893), closes #1869
  • log: Remove the Git::Log Enumerable interface and Commit#set_commit (a2d2934), closes #1775

... (truncated)

Changelog

Sourced from git's changelog.

6.0.0 (2026-10-28)

⚠ BREAKING CHANGES

  • Git::Repository no longer defines object_contents, object_size, object_type, commit_data, tag_data, revparse, namerev, or diff_name_status. Call cat_file_contents, cat_file_size, cat_file_type, cat_file_commit, cat_file_tag, rev_parse, name_rev, and diff_path_status instead.
  • errors: the minimum activesupport version is now 7.0.9 (was 5.0).
  • deprecation: Git::Deprecation.deprecation_horizon is now "in a future major release" (was "6.0.0"). Code that parses it as a version raises.
  • factories: raise ArgumentError when Git.init receives an unknown option key
  • factories: raise ArgumentError when Git.open or Git.bare receives an unknown option key
  • factories: Git.init and Git.clone expand a ~-prefixed directory and a ~-prefixed :repository option to the home directory instead of passing the literal ~ to git. Git.clone also expands a ~-prefixed :chdir option.
  • path_resolver: a relative :repository or :index option passed to a factory method is expanded against the process working directory instead of the working directory or git directory. Callers who relied on the old expansion pass the joined path explicitly.
  • repository: Git::Repository#archive raises Git::Error instead of a Zlib::Error subclass when gzip compression fails; the Zlib::Error is available through cause.
  • stash: Git::Repository#stash_store raises Git::UnexpectedResultError instead of returning nil when the stored commit is missing from the stash list.
  • tag: Git::Repository#tag_create raises Git::UnexpectedResultError instead of returning nil when the tag it created is missing from the tag list.
  • remote: Git::Remote is removed and referencing it raises NameError; Git::Repository no longer defines remote or config_remote. Use Git::Repository#remote_list, which returns ArrayGit::RemoteInfo, and the name-based remote operations; filter Git::Repository#config_list on the "remote.." key prefix for entries Git::RemoteInfo does not model.
  • branch: Git::Branch and Git::Branches are removed and referencing them raises NameError; Git::Repository no longer defines branch or branches, and Git::Remote no longer defines branch. Use Git::Repository#branch_list, which returns ArrayGit::BranchInfo, and the name-based branch operations.
  • worktree: Git::Worktree, Git::Worktrees, Git::Repository#worktree, Git::Repository#worktrees, and Git::Repository#worktrees_all are removed. Git::Repository#worktree_add returns a Git::WorktreeInfo instead of the git worktree add output String.
  • stash: Git::Stash, Git::Stashes, Git::Repository#stashes_all, and Git::Repository#stash_save are removed. Git::Repository#stash_list returns ArrayGit::StashInfo, newest first, instead of a String; stash_infos remains as an alias.
  • status: Git::Status and Git::Status::StatusFile are removed and referencing them raises NameError; Git::Repository no longer defines status. Use Git::Repository#status_info, which returns Git::StatusInfo holding one
  • author: Git::Author is removed; referencing it raises NameError. Use
  • Git::Repository no longer defines remotes; call remote_list (or remote_names) instead. Git::Branch no longer defines stashes; call Git::Repository#stash_infos instead. Git::Commands::CatFile::Raw no longer accepts the allow_unknown_type option and raises ArgumentError when it is passed; there is no replacement.
  • Git::Repository#config, Git::Repository#global_config, Git.global_config, and the config and global_config instance methods of the Git module no longer exist. Use config_get, config_set, and config_list (with
  • log: Git::Log no longer includes Enumerable or defines each, size, to_s, first, last, or []. Call Git::Log#execute and use the Git::Log::Result it returns. Git::Object::Commit no longer defines set_commit; call from_data instead.
  • repository: Git::Repository no longer defines empty?, reset_hard, conflicts, is_local_branch?, is_remote_branch?, is_branch?, or branches_all. Call no_commits?, reset(commitish, hard: true), each_conflict, local_branch?, remote_branch?, branch?, and branch_list instead.
  • repository: Git::Repository#clean no longer accepts :ff or :force_force, diff_path_status no longer accepts :path, and commit no longer accepts :add_all; each raises ArgumentError. set_working and set_index no longer take a positional check argument. Use force: 2, :path_limiter, :all, and must_exist: instead.
  • repository: with_index, with_temp_index, with_working, and with_temp_working raise ArgumentError when called without a block or with a block that declares no positional parameter. Declare the parameter and call methods on it. See UPGRADING.md.
  • repository: with_index, with_temp_index, with_working, and with_temp_working yield a separate Git::Repository bound to the temporary index or working tree instead of rebinding the receiver. Code that ignores the block parameter and calls the outer repository inside the block now runs against the original index or working tree; use the block parameter. See UPGRADING.md.
  • export: Git.export(url, dir, remote: name) raises ArgumentError instead of silently ignoring the option. Delete the option from the call; there is no replacement because the remote name was never observable in the exported tree.
  • Git.clone no longer accepts :path, :recursive, or :remote and raises ArgumentError when given one. Use :chdir, :recurse_submodules, and :origin instead.
  • Git.binary_version no longer exists; use Git.git_version (call .to_a for the legacy Array). Git.ls_remote(nil) raises ArgumentError; omit the argument or pass '.'.
  • The Git::Base constant no longer exists, so is_a?(Git::Base) checks and monkeypatches of Git::Base raise NameError. Include an application-owned module into Git::Repository instead.
  • Git::Repository#lib no longer exists. Call the facade method directly on the repository object.
  • Git::CommandLineResult no longer exists. Use
  • Git::Object::Tag no longer exists, Git::Repository no longer defines tag, tags, or tag_add, and Git::Object.new no longer accepts an is_tag argument. Use tag_list and tag_create on Git::Repository, which return
  • Git::Repository no longer defines add_remote, remove_remote, set_remote_url, add_tag, or delete_tag. Call remote_add, remote_remove, remote_set_url, tag_create, and tag_delete instead.
  • addressable 2.9.0 or later is required. Applications whose bundle caps addressable below 2.9.0 must update that dependency or stay on the latest v5.x release.
  • git 2.43.0 or later is required. Ubuntu 22.04 users must install a newer git or stay on v5.x.
  • Ruby 3.3.0 or later is required. Applications on Ruby 3.2 must upgrade Ruby or stay on the latest v5.x release.

Features

  • author: Remove Git::Author (315eec2), closes #1728
  • branch: Remove Git::Branch and Git::Branches (bbe3a83), closes #1723 #1631
  • export: Reject the :remote option to Git.export (6d46862), closes #1820
  • factories: Accept an :index option in Git.bare (333d609), closes #1868
  • factories: Raise ArgumentError when Git.init receives an unknown option key (0ffc8cd), closes #1913 #1869
  • factories: Raise ArgumentError when Git.open or Git.bare receives an unknown option key (3991893), closes #1869
  • log: Remove the Git::Log Enumerable interface and Commit#set_commit (a2d2934), closes #1775
  • Raise the minimum supported git version to 2.43.0 (103a8da), closes #1140

... (truncated)

Commits
  • 49b9749 chore: release v6.0.0
  • 1f6eace docs(upgrading): organize the v6.x section around what the reader has to do
  • adf27e7 docs(readme): replace the v6.0.0 development note with the release banner
  • 0fb37d7 feat!: remove the eight renamed facade aliases
  • 9cfd7cf docs: name the removal horizon in every @​deprecated YARD tag
  • 84ca7ba ci: reject BREAKING CHANGE footers that release-please would truncate
  • 5cb1db3 fix(deprecation): load what the log, notify, and report behaviors need
  • e16a405 fix(errors)!: make the Git::GitExecuteError warning follow the deprecation po...
  • 137e5b7 refactor(deprecation)!: retire the version horizon as a source of warning text
  • f1426f4 docs(readme): state that deprecation warnings fire on every call
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [git](https://github.com/ruby-git/ruby-git) from 5.6.0 to 6.0.0.
- [Release notes](https://github.com/ruby-git/ruby-git/releases)
- [Changelog](https://github.com/ruby-git/ruby-git/blob/main/CHANGELOG.md)
- [Commits](ruby-git/ruby-git@v5.6.0...v6.0.0)

---
updated-dependencies:
- dependency-name: git
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from neilvcarvalho as a code owner November 13, 2026 12:14
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code labels Nov 13, 2026
@neilvcarvalho

Copy link
Copy Markdown
Member

@dependabot rebase

@dependabot @github

dependabot Bot commented on behalf of github Nov 27, 2026

Copy link
Copy Markdown
Contributor Author

Looks like this PR is already up-to-date with main! If you'd still like to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file ruby Pull requests that update ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant