Conversation
This is adapted from the MSYS2-packages version. The Perl-specific sections (upgrading Perl, patchprov, DLL/XS version mismatches, Windows Defender false positives, rebuild lists) were removed since they are not relevant to MINGW packages. The build instructions were updated to use makepkg-mingw with MSYSTEM=MINGW64 and the mingw64 toolchain on PATH, and to warn against login shells which hang in Git for Windows SDK environments. The playground workflow, updpkgsums/autoCRLF guidance, and general worktree workflow are retained unchanged. Assisted-by: Claude Opus 4.6 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
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.
This adds an AGENTS.md file to help AI tools work effectively with
this repository.
The file serves two purposes. First, it raises the floor for flyby
contributions that use AI. Without guidance, AI-assisted contributions
tend to produce low-quality patches that ignore the project's
conventions and workflows. The AGENTS.md file cannot guarantee good
contributions, but it gives AI tools enough context to produce
something that is at least a reasonable starting point for a human
to refine.
Second, and more importantly, it helps the maintainers of Git for
Windows use AI more effectively for the kind of menial work that does
not require much creativity but is tedious to do by hand. A good
example is the
src/playground/workflow for managing patches: importingtarballs, applying patches as commits, ensuring stable OIDs so that
format-patch output is reproducible, and re-exporting after amendments.
This is exactly the sort of mechanical, non-trivial work where AI
assistance is valuable, but only if the AI knows the workflow.
The file covers:
package classes (MSYS vs MINGW)
makepkg-mingwfrom PowerShell (including the loginshell hang trap)
$^Osituation (cygwin vs msys) and its implications fortest skip guards and Windows Firewall hangs
commit OIDs
amend!/autosquash rather thanlayering new patches