Merge branch 'ak/commit-only-allow-empty'
commit3aead1cad7a9a35534b86763bbe8c97dfd3f1a03
authorJunio C Hamano <gitster@pobox.com>
Mon, 19 Dec 2016 22:45:34 +0000 (19 14:45 -0800)
committerJunio C Hamano <gitster@pobox.com>
Mon, 19 Dec 2016 22:45:34 +0000 (19 14:45 -0800)
treedbfbcae1d285ce8e6e7d51b45285f712191e0662
parentafe0e2a391665c01daae78d8f8a9a105420b0218
parentbeb635ca9ced5cd8f0eb5d2def9468f14bd243bc
Merge branch 'ak/commit-only-allow-empty'

"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
Documentation/git-commit.txt
builtin/commit.c
t/t7501-commit.sh