Merge branch 'jk/maint-commit-amend-only-no-paths' into maint
commitf5a8400960f05ed6489f7e5be0c7aa06c7e4a9e3
authorJunio C Hamano <gitster@pobox.com>
Sun, 22 Jul 2012 20:03:29 +0000 (22 13:03 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sun, 22 Jul 2012 20:03:29 +0000 (22 13:03 -0700)
treede02b5b5b4739f1537c47400ad6d7129efe3bfb7
parent1cd2913960f752508c3f529dbccd359ed79a1a9f
parentea2d4ed35902ce15959965ab86d80527731a177c
Merge branch 'jk/maint-commit-amend-only-no-paths' into maint

"git commit --amend --only --" was meant to allow "Clever" people to
rewrite the commit message without making any change even when they
have already changes for the next commit added to their index, but
it never worked as advertised since it was introduced in 1.3.0 era.

* jk/maint-commit-amend-only-no-paths:
  commit: fix "--amend --only" with no pathspec
builtin/commit.c
t/t7501-commit.sh