]> git.ipfire.org Git - thirdparty/git.git/commit - cache.h
Fix add_files_to_cache() to take pathspec, not user specified list of files
authorJunio C Hamano <gitster@pobox.com>
Sun, 18 Nov 2007 09:12:04 +0000 (01:12 -0800)
committerJunio C Hamano <gitster@pobox.com>
Fri, 23 Nov 2007 01:05:05 +0000 (17:05 -0800)
commitb6ec1d619fb54642388063a88e2255556cf5de06
tree47f2fb8aecb3cb86b6d46961ed51ded21c71a220
parentee425e4643aa2d7be72cb4586d7554cecce44d6e
Fix add_files_to_cache() to take pathspec, not user specified list of files

This separates the logic to limit the extent of change to the
index by where you are (controlled by "prefix") and what you
specify from the command line (controlled by "pathspec").

Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-add.c
cache.h
commit.h