mirror of
https://github.com/electron/electron.git
synced 2026-10-28 11:44:46 +08:00
Exported patches must only carry file changes in the target repo. When the target is Chromium src, `e sync` leaves the Electron-patched sub-repos (v8, boringssl, skia, ...) at local commits, so any pathspec-less staging picks up moved gitlinks and `git format-patch` serializes them as 160000 hunks. Those hunks apply only while the "-" side matches the current DEPS pin and conflict on the next roll (see #53191 / #53406). Pass --ignore-submodules=all so gitlink changes are never exported. Claude-Session: https://claude.ai/code/session_01YYemr8vyWtXfgADtnbbQxQ Co-authored-by: Claude <noreply@anthropic.com>