diff options
author | Jürgen Rühle <j-r@online.de> | 2007-01-02 20:26:23 +0100 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-01-03 08:43:31 +0100 |
commit | 98bf8a47c296f51ea9722fef4bb81dbfb70cd4bb (patch) | |
tree | a8bf544dcf8f11b0914db29768ca099c2d197193 /lockfile.c | |
parent | Improve "nothing to commit" part of status output (diff) | |
download | git-98bf8a47c296f51ea9722fef4bb81dbfb70cd4bb.tar.xz git-98bf8a47c296f51ea9722fef4bb81dbfb70cd4bb.zip |
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>
Diffstat (limited to 'lockfile.c')
0 files changed, 0 insertions, 0 deletions