summaryrefslogtreecommitdiff
path: root/builtin-add.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2007-09-18 00:42:01 -0700
committerJunio C Hamano <gitster@pobox.com>2007-09-18 00:42:01 -0700
commit9346b4e1ad2d03541f18b38f7e9fb7ad0ca6434e (patch)
treed49794a304c2b949d9a49e56b7e5028cce44e406 /builtin-add.c
parent148c63006a8e4985a9eee0863073588d8ac18a8a (diff)
parent58f6fb53dd1104559f6f5507562a975c0ff079af (diff)
downloadgit-9346b4e1ad2d03541f18b38f7e9fb7ad0ca6434e.tar.gz
Merge branch 'cr/reset'
* cr/reset: Simplify cache API An additional test for "git-reset -- path" Make "git reset" a builtin. Move make_cache_entry() from merge-recursive.c into read-cache.c Add tests for documented features of "git reset".
Diffstat (limited to 'builtin-add.c')
-rw-r--r--builtin-add.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/builtin-add.c b/builtin-add.c
index 3d8b8b4f89..0d7d0ce420 100644
--- a/builtin-add.c
+++ b/builtin-add.c
@@ -103,7 +103,6 @@ static void update_callback(struct diff_queue_struct *q,
break;
case DIFF_STATUS_DELETED:
remove_file_from_cache(path);
- cache_tree_invalidate_path(active_cache_tree, path);
if (verbose)
printf("remove '%s'\n", path);
break;