diff options
author | Junio C Hamano <gitster@pobox.com> | 2007-11-18 01:12:04 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-11-22 17:05:05 -0800 |
commit | b6ec1d619fb54642388063a88e2255556cf5de06 (patch) | |
tree | 47f2fb8aecb3cb86b6d46961ed51ded21c71a220 /commit.h | |
parent | ee425e4643aa2d7be72cb4586d7554cecce44d6e (diff) | |
download | git-b6ec1d619fb54642388063a88e2255556cf5de06.tar.gz |
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>
Diffstat (limited to 'commit.h')
-rw-r--r-- | commit.h | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -114,7 +114,6 @@ extern struct commit_list *get_shallow_commits(struct object_array *heads, int in_merge_bases(struct commit *, struct commit **, int); extern int interactive_add(void); -extern void add_files_to_cache(int verbose, const char *prefix, const char **files); extern int rerere(void); static inline int single_parent(struct commit *commit) |