Repository navigation
Update dugite to 3.3.2 (Git for Windows 2.56.0.windows.4) - #23075
Merged
Merged
Conversation
Co-authored-by: Copilot App <[email protected]>
niik
marked this pull request as ready for review
October 26, 2026 09:54
niik
enabled auto-merge
October 26, 2026 09:55
Contributor
There was a problem hiding this comment.
🟢 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.1to^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
disabled auto-merge
October 26, 2026 10:19
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.
|
Hyy |
amirhoseynbakhsi214-eng
left a comment
There was a problem hiding this comment.
[``]( # _@url)_Fixes #23181 __
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Bumps
dugitefrom^3.3.1to^3.3.2inapp/package.jsonand regeneratesapp/yarn.lock.This consumes dugite-native v2.56.0-2, updating Git for Windows from
v2.56.0.windows.2tov2.56.0.windows.4. Gitv2.56.0, Git LFSv3.8.1, and Git Credential Managerv2.9.1remain 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
latesttag.Validation
3.3.2and all embedded-platform URLs reference dugite-nativev2.56.0-2.safe.bareRepository=explicit, so the test process used a scopedsafe.bareRepository=alloverride to allow the suite's bare-repository fixtures; no Git configuration files or application behavior were changed.yarn lint:fix,yarn lint, andgit diff --checkpassed.Screenshots
N/A — no UI changes.
Release notes
Notes: [Fixed] Update Git for Windows to 2.56.0.windows.4