fix(reapply-patches): add gsd-update arm to git-enhanced two-way merge filter (#3516)
The grep -v alternation in the git-enhanced two-way merge step was missing the 'gsd-update' arm after the slash-command rename from /gsd:update to /gsd-update. Commits authored by the current update flow fell through the filter and were misclassified as user customizations, causing spurious merge prompts during /gsd-update --reapply. Adds 'gsd-update' between 'gsd:update' and 'GSD update'. The legacy 'gsd:update' arm is preserved for back-compat; 'GSD update' and 'gsd-install' exclusions are unchanged.
This commit is contained in:
@@ -228,7 +228,7 @@ d. **If ALL differences appear to be mechanical drift → still flag as CONFLICT
|
||||
When the config directory is a git repo but the pristine install commit can't be found, use commit history to identify user changes:
|
||||
```bash
|
||||
# Find non-update commits that touched this file
|
||||
git -C "$CONFIG_DIR" log --oneline --no-merges -- "{file_path}" | grep -v "gsd:update\|GSD update\|gsd-install"
|
||||
git -C "$CONFIG_DIR" log --oneline --no-merges -- "{file_path}" | grep -v "gsd:update\|gsd-update\|GSD update\|gsd-install"
|
||||
```
|
||||
Each matching commit represents an intentional user modification. Use the commit messages and diffs to understand what was changed and why.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user