From b163becb076818b8a77e35695d0669314bfaf1a0 Mon Sep 17 00:00:00 2001 From: Flavio Soibelmann Glock Date: Tue, 7 Apr 2026 10:20:58 +0200 Subject: [PATCH] Add GIT_EDITOR="true" guideline to AGENTS.md Use `true` instead of vim for non-interactive git operations to avoid hanging on an interactive editor. Generated with [Devin](https://cli.devin.ai/docs) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- AGENTS.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 8fac8e171..676299076 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -162,6 +162,11 @@ The perl_test_runner.pl sets these automatically based on the test file being ru 5. **Wait for review** before merging +6. **Use `GIT_EDITOR="true"` for non-interactive git operations** (e.g., `git commit --amend`, `git rebase`). This avoids hanging on an interactive editor: + ```bash + GIT_EDITOR="true" git commit --amend + ``` + ### Commits - Reference the design doc or issue in commit messages when relevant