Skip to content

Update dugite to 3.3.2 (Git for Windows 2.56.0.windows.4) - #23075

Merged
niik merged 1 commit into
developmentfrom
niik-git-for-windows-update
Oct 26, 2026
Merged

niik merged 1 commit into
developmentfrom
niik-git-for-windows-update

Conversation

@niik

@niik niik commented Oct 26, 2026

Copy link
Copy Markdown
Member

Description

Bumps dugite from ^3.3.1 to ^3.3.2 in app/package.json and regenerates app/yarn.lock.

This consumes dugite-native v2.56.0-2, updating Git for Windows from v2.56.0.windows.2 to v2.56.0.windows.4. Git v2.56.0, Git LFS v3.8.1, and Git Credential Manager v2.9.1 remain unchanged. No Desktop version or changelog changes are included; this is a standalone dependency bump for the upcoming security release.

Upstream updates: desktop/dugite-native#560 and desktop/dugite#637. dugite 3.3.2 is published on npm's latest tag.

Validation

  • Confirmed installed dugite is 3.3.2 and all embedded-platform URLs reference dugite-native v2.56.0-2.
  • Full unit/integration suite: 2,285 passed, 2 skipped. The host injects safe.bareRepository=explicit, so the test process used a scoped safe.bareRepository=all override to allow the suite's bare-repository fixtures; no Git configuration files or application behavior were changed.
  • yarn lint:fix, yarn lint, and git diff --check passed.

Screenshots

N/A — no UI changes.

Release notes

Notes: [Fixed] Update Git for Windows to 2.56.0.windows.4

Co-authored-by: Copilot App <[email protected]>
Copilot AI balanced review requested due to automatic review settings October 26, 2026 09:54
@niik
niik marked this pull request as ready for review October 26, 2026 09:54
@niik
niik requested a review from a team as a code owner October 26, 2026 09:54
@niik
niik requested a review from babakks October 26, 2026 09:54
@niik
niik enabled auto-merge October 26, 2026 09:55

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The dependency and lockfile changes agree, match the verified upstream update, and have no identified blocking issues.

No open issues 🎉

What changed in this PR

Updates Desktop’s bundled Git for Windows to 2.56.0.windows.4 through dugite 3.3.2 for the upcoming security release.

Changes:

  • Raises the dugite dependency from ^3.3.1 to ^3.3.2.
  • Updates the lockfile’s resolved package and integrity hash without changing Desktop’s version or changelog.
File Description
app/​yarn.lock Locks dugite to 3.3.2 with updated package metadata.
app/​package.json Raises the dugite dependency to ^3.3.2.

Review effort: Balanced

@niik
niik disabled auto-merge October 26, 2026 10:19
@niik
niik merged commit 23d6710 into development Oct 26, 2026
25 checks passed
@niik
niik deleted the niik-git-for-windows-update branch October 26, 2026 10:20
Copilot AI mentioned this pull request Oct 26, 2026
3 tasks
bahooo22 added a commit to bahooo22/github_desktop that referenced this pull request Oct 27, 2026
Апстрим за это время влил в `development` и production 3.6.9, и собственную
бету 3.6.10-beta1, плюс принёс фичу отключения кнопки переключения ветки на
время стэша. Compare `development...bahooo22:github_desktop:development`
показывает расхождение 245/6: шесть коммитов апстрима ещё не у нас.

Что изменено?
- `app/package.json` (+1/-1): версия `3.6.10-beta1`.
- `changelog.json` (+3/-0): апстримные записи `3.6.10-beta1` (обновление Git
  for Windows 2.56.0.windows.4, desktop#23075).
- `app/src/ui/stash-changes/stash-and-switch-branch-dialog.tsx` (+4/-1):
  единственное место конфликта — футер диалога. Взят апстримный новый проп
  `okButtonDisabled={isStashingChanges}` и сохранена наша подпись
  `t('stashChanges.switchBranch')` вместо литерала
  `__DARWIN__ ? 'Switch Branch' : 'Switch branch'`.
- `app/test/unit/ui/stash-and-switch-branch-dialog-test.tsx` (+58/-0):
  апстримный тест «disables the switch button after clicking it».

Зачем?
Номер версии форка обязан совпадать с апстримным, иначе проверка официального
канала считает сборку отстающей; локализация футера нужна, чтобы кнопка
переключения ветки не оставалась английской в русскоязычном интерфейсе.

Замеры?
`git merge --no-ff --no-commit upstream/development` — один конфликт
(`git diff --name-only --diff-filter=U` = 1), после резолва в индексе ровно
четыре файла, 66 вставок и 2 удаления. Тест ищет кнопку по
`/Switch branch/i`, а `stashChanges.switchBranch` в en-каталоге —
`{'@darwin': 'Switch Branch', '@other': 'Switch branch'}`, то есть имя
совпадает без правки теста. Остальные изменения апстрима (состояние
`isStashingChanges`, `loading`/`disabled` у `Dialog`) слились автоматически.
Страховка: ветка `upstream-sync-1026` и тег `pre-upstream-dev-1026` на
`597f878c20`.

Принятый остаток?
Запись `3.6.10-beta1` в `changelog-fork.json` и заметки во всех семи каталогах
— следующим коммитом: `fork-changelog-test` требует запись под текущую версию,
и без неё CI на этом дереве красный. Пуш — за пользователем.

Итог
Ветка догнала апстрим до `3.6.10-beta1`, отставание от официального канала
снова ноль, а кнопка переключения ветки глушится на время стэша и остаётся
локализованной.

---

EN: Merge upstream/development: 3.6.9, the 3.6.10 beta and the branch button

In the meantime upstream merged both production 3.6.9 and its own
3.6.10-beta1 into `development`, and added a feature that disables the branch
switch button while stashing. The compare
`development...bahooo22:github_desktop:development` reports a divergence of
245/6: six upstream commits are still missing here.

What changed?
- `app/package.json` (+1/-1): version `3.6.10-beta1`.
- `changelog.json` (+3/-0): upstream's `3.6.10-beta1` entry (Git for Windows
  2.56.0.windows.4, desktop#23075).
- `app/src/ui/stash-changes/stash-and-switch-branch-dialog.tsx` (+4/-1): the
  only conflict — the dialog footer. Upstream's new
  `okButtonDisabled={isStashingChanges}` prop is taken and our
  `t('stashChanges.switchBranch')` label is kept instead of the literal
  `__DARWIN__ ? 'Switch Branch' : 'Switch branch'`.
- `app/test/unit/ui/stash-and-switch-branch-dialog-test.tsx` (+58/-0):
  upstream's test "disables the switch button after clicking it".

Why?
The fork's version number must match upstream's, otherwise the official-channel
check counts the build as trailing; the footer needs localization so the branch
switch button does not stay English in the Russian interface.

Verified
`git merge --no-ff --no-commit upstream/development` produced one conflict
(`git diff --name-only --diff-filter=U` = 1); after resolving it the index holds
exactly four files, 66 insertions and 2 deletions. The test looks the button up
by `/Switch branch/i`, and `stashChanges.switchBranch` in the en catalog is
`{'@darwin': 'Switch Branch', '@other': 'Switch branch'}`, so the name matches
without touching the test. The rest of upstream's changes (the
`isStashingChanges` state, `loading`/`disabled` on `Dialog`) merged automatically.
Safety net: branch `upstream-sync-1026` and tag `pre-upstream-dev-1026` on
`597f878c20`.

Accepted remainder
The `3.6.10-beta1` entry in `changelog-fork.json` and the notes in all seven
catalogs come in the next commit: `fork-changelog-test` requires an entry for the
current version, and without it CI is red on this tree. The push is the user's.

Result
The branch caught up with upstream at `3.6.10-beta1`, the distance to the
official channel is zero again, and the switch-branch button is muted while
stashing and stays localized.
@shubhamrajbhar772-wq

Copy link
Copy Markdown

Hyy

@shubhamrajbhar772-wq

Copy link
Copy Markdown

Uploading image.jpg…

@linthuaung1351-oss linthuaung1351-oss left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@

@amirhoseynbakhsi214-eng amirhoseynbakhsi214-eng left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[``]( # _@url)_Fixes #23181 __

@amirhoseynbakhsi214-eng amirhoseynbakhsi214-eng left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@efdhdfghdfhg-max efdhdfghdfhg-max left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants