]> git.ipfire.org Git - thirdparty/git.git/commit - t/t7502-commit-porcelain.sh
t7502: test commit.status, --status and --no-status
authorJunio C Hamano <gitster@pobox.com>
Wed, 13 Jan 2010 08:12:54 +0000 (00:12 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 13 Jan 2010 09:13:56 +0000 (01:13 -0800)
commitf9c01817bb7a0a7b61652ec8e3ac12c900526f0e
treeb807057f43b7d46d345afb744d816c5e102a16d6
parentbed575e4002cfa1dfa7d87b9db38e69c6f600e2e
t7502: test commit.status, --status and --no-status

Make sure that the status information:

 - is shown as before without configuration nor command line option;

 - is shown if commit.status is set to true and no command line option
   is given, or --status is explicitly given;

 - is not shown if commit.status is set to false and no command line
   option is given, or --no-status is explicitly given.

Also make sure that the way lines taken from the custom --template appear
in the log message editor is not changed at all.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7502-commit.sh