commit | 98bf8a47c296f51ea9722fef4bb81dbfb70cd4bb | [log] [tgz] |
---|---|---|
author | Jürgen Rühle <j-r@online.de> | Tue Jan 02 20:26:23 2007 +0100 |
committer | Junio C Hamano <junkio@cox.net> | Tue Jan 02 23:43:31 2007 -0800 |
tree | a8bf544dcf8f11b0914db29768ca099c2d197193 | |
parent | 6e458bf63f48fb7d15cb70ad7c7b7b71915d94a2 [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>