Code

git-add -u: match the index with working tree.
authorJunio C Hamano <junkio@cox.net>
Fri, 20 Apr 2007 08:39:39 +0000 (01:39 -0700)
committerJunio C Hamano <junkio@cox.net>
Fri, 20 Apr 2007 08:47:47 +0000 (01:47 -0700)
commitdfdac5d9b877641d3aad8ec49f64c2730a3487e3
treed708470233175b3b04f833decbee3f5fb851759e
parent2c9750cc8b902a55669183e05533207dd7ec71fd
git-add -u: match the index with working tree.

This is a shorthand of what "git commit -a" does in preparation
for making a commit, which is:

    git diff-files --name-only -z | git update-index --remove -z --stdin

Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-add.c