| author | Junio C Hamano <gitster@pobox.com> | |
| Sun, 23 Dec 2007 03:22:29 +0000 (19:22 -0800) | ||
| committer | Junio C Hamano <gitster@pobox.com> | |
| Sun, 23 Dec 2007 03:45:06 +0000 (19:45 -0800) | ||
| commit | d616a2396456fdb6679efa0c0bee301aeb606ca8 | |
| tree | 4ea5013508c66ac5307e6fe8b791dbbca758b5ad | tree | snapshot |
| parent | 7263881253acc4c3af8b3131c60da1554b72f8b2 | commit | 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>
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>
| builtin-commit.c | diff | blob | history |