Code

Prevent "git-commit -a path1 path2..."
authorJunio C Hamano <junkio@cox.net>
Fri, 25 Nov 2005 21:33:14 +0000 (13:33 -0800)
committerJunio C Hamano <junkio@cox.net>
Fri, 25 Nov 2005 21:33:14 +0000 (13:33 -0800)
commitf678dd180a037283decb76201b537dca24de848f
tree5f1f1dcb7b80fc18f4e0c691b180482b0da04a70
parent3a2f2bb354d920e3f1b7f4334d3656c77e9fb423
Prevent "git-commit -a path1 path2..."

When you want to create a partial commit, giving -a by mistake
would ignore the given path.  Prevent it.

Signed-off-by: Junio C Hamano <junkio@cox.net>
git-commit.sh