summaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2007-11-18 01:12:04 -0800
committerJunio C Hamano <gitster@pobox.com>2007-11-22 17:05:05 -0800
commitb6ec1d619fb54642388063a88e2255556cf5de06 (patch)
tree47f2fb8aecb3cb86b6d46961ed51ded21c71a220 /commit.h
parentee425e4643aa2d7be72cb4586d7554cecce44d6e (diff)
downloadgit-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.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/commit.h b/commit.h
index aa679867a9..f450aae8aa 100644
--- a/commit.h
+++ b/commit.h
@@ -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)