Merge branch 'ak/commit-only-allow-empty'
authorJunio C Hamano <gitster@pobox.com>
Mon, 19 Dec 2016 22:45:34 +0000 (14:45 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 19 Dec 2016 22:45:34 +0000 (14:45 -0800)
"git commit --allow-empty --only" (no pathspec) with dirty index
ought to be an acceptable way to create a new commit that does not
change any paths, but it was forbidden, perhaps because nobody
needed it so far.

* ak/commit-only-allow-empty:
commit: remove 'Clever' message for --only --amend
commit: make --only --allow-empty work without paths

1  2 
Documentation/git-commit.txt
builtin/commit.c
t/t7501-commit.sh
Simple merge
Simple merge
Simple merge