Bug Report: git reword opens editor before checking for public commits and suggests wrong flag in error…
Bug Report: git reword opens editor before checking for public commits and suggests wrong flag in error…: a task in LegoFlow-SWE (Harbor dataset). When running git reword on a public commit (e.g. a commit present on the main branch), the command incorrectly opens an editor to edit the commit…
The task
When running `git reword` on a public commit (e.g. a commit present on the main branch), the command incorrectly opens an editor to edit the commit message *before* verifying whether the commit is public. Only after the user finishes editing and saves is an error shown. This causes the user’s editorial work to be…
Part of Lego-X/LegoFlow-SWE.