summaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorWincent Colaiuta <win@wincent.com>2007-11-22 00:02:52 (GMT)
committerJunio C Hamano <gitster@pobox.com>2007-11-22 10:53:19 (GMT)
commit7c0ab4458994aa895855abc4a504cf693ecc0cf1 (patch)
tree3529926f2ec2fe67be99808bf245d841e9bbc24e /commit.h
parenta7d9da6c972cb7bc79ef47ad7199dfb2a8dcf67f (diff)
downloadgit-7c0ab4458994aa895855abc4a504cf693ecc0cf1.zip
git-7c0ab4458994aa895855abc4a504cf693ecc0cf1.tar.gz
git-7c0ab4458994aa895855abc4a504cf693ecc0cf1.tar.bz2
Teach builtin-add to pass multiple paths to git-add--interactive
Instead of just accepting a single file parameter, git-add now accepts any number of path parameters, fowarding them to git-add--interactive. Signed-off-by: Wincent Colaiuta <win@wincent.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.h')
-rw-r--r--commit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/commit.h b/commit.h
index aa67986..d82b8bc 100644
--- a/commit.h
+++ b/commit.h
@@ -113,7 +113,7 @@ 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 int interactive_add(int argc, const char **argv);
extern void add_files_to_cache(int verbose, const char *prefix, const char **files);
extern int rerere(void);