author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | |
Tue, 6 Apr 2010 08:40:35 +0000 (08:40 +0000) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 7 Apr 2010 22:22:57 +0000 (15:22 -0700) | ||
commit | c9b5fde7593ac88b1c475bea51d21ba1a1d57d65 | |
tree | 51f4e4875024f41429762f2bf5fd6d8108e0ec9d | tree | snapshot |
parent | 537f6c7fb40257776a513128043112ea43b5cdb8 | commit | diff |
Add option to git-commit to allow empty log messages
Change git-commit(1) to accept the --allow-empty-message option
to allow a commit with an empty message. This is analogous to the
existing --allow-empty option which allows a commit that records
no changes. As these are mainly for interoperating with foreign SCM
systems, and are not meant for normal use, ensure that "git commit -h"
does not talk about them.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Change git-commit(1) to accept the --allow-empty-message option
to allow a commit with an empty message. This is analogous to the
existing --allow-empty option which allows a commit that records
no changes. As these are mainly for interoperating with foreign SCM
systems, and are not meant for normal use, ensure that "git commit -h"
does not talk about them.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-commit.txt | diff | blob | history | |
builtin/commit.c | diff | blob | history | |
t/t7500-commit.sh | diff | blob | history |