]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'ak/commit-only-allow-empty' into maint
authorJunio C Hamano <gitster@pobox.com>
Tue, 17 Jan 2017 23:11:03 +0000 (15:11 -0800)
committerJunio C Hamano <gitster@pobox.com>
Tue, 17 Jan 2017 23:11:03 +0000 (15:11 -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

Simple merge
Simple merge