test: commit --amend should honor --no-edit
authorJonathan Nieder <jrnieder@gmail.com>
Wed, 7 Dec 2011 14:54:14 +0000 (08:54 -0600)
committerJunio C Hamano <gitster@pobox.com>
Thu, 8 Dec 2011 23:35:34 +0000 (15:35 -0800)
commitbc8218999863a083d725f2011e5e0371df30aa1f
treeae1d4e8215110690ae5d8ee95822a104e4f657ff
parentca1ba2010215acb305c7b5d9707e117b862067eb
test: commit --amend should honor --no-edit

A quick test to make sure git doesn't lose the functionality added by
the recent patch "commit: honor --no-edit", plus another test to check
the classical --edit use case (use with "-m").

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7501-commit.sh