diff options
author | Wincent Colaiuta <win@wincent.com> | 2007-11-22 01:02:52 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2007-11-22 02:53:19 -0800 |
commit | 7c0ab4458994aa895855abc4a504cf693ecc0cf1 (patch) | |
tree | 3529926f2ec2fe67be99808bf245d841e9bbc24e /commit.h | |
parent | a7d9da6c972cb7bc79ef47ad7199dfb2a8dcf67f (diff) | |
download | git-7c0ab4458994aa895855abc4a504cf693ecc0cf1.tar.gz git-7c0ab4458994aa895855abc4a504cf693ecc0cf1.tar.xz |
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |