commit | d616a2396456fdb6679efa0c0bee301aeb606ca8 | [log] [tgz] |
---|---|---|
author | Junio C Hamano <gitster@pobox.com> | Sat Dec 22 19:22:29 2007 -0800 |
committer | Junio C Hamano <gitster@pobox.com> | Sat Dec 22 19:45:06 2007 -0800 |
tree | 4ea5013508c66ac5307e6fe8b791dbbca758b5ad | |
parent | 7263881253acc4c3af8b3131c60da1554b72f8b2 [diff] |
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>