Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
builtin-commit: fix amending of the initial commit
When amending initial commit without editor, the command incorrectly barfed because the check to see if there is anything to commit referenced the non-existent HEAD^1. Signed-off-by: Junio C Hamano <gitster@pobox.com>
- Loading branch information