author | Jürgen Rühle <j-r@online.de> | |
Tue, 2 Jan 2007 19:26:23 +0000 (20:26 +0100) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 3 Jan 2007 07:43:31 +0000 (23:43 -0800) | ||
commit | 98bf8a47c296f51ea9722fef4bb81dbfb70cd4bb | |
tree | a8bf544dcf8f11b0914db29768ca099c2d197193 | tree | snapshot |
parent | 6e458bf63f48fb7d15cb70ad7c7b7b71915d94a2 | commit | diff |
Support --amend on initial commit in status output
We check the existence of the parent commit to determine whether the status is
requested for an initial commit. Since the parent commit depends on the
presence of the --amend switch do initial commit detection after command line
arguments have been handled.
Signed-off-by: Jürgen Rühle <j-r@online.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
We check the existence of the parent commit to determine whether the status is
requested for an initial commit. Since the parent commit depends on the
presence of the --amend switch do initial commit detection after command line
arguments have been handled.
Signed-off-by: Jürgen Rühle <j-r@online.de>
Signed-off-by: Junio C Hamano <junkio@cox.net>
wt-status.c | diff | blob | history |