summaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2013-07-14 08:35:50 (GMT)
committerJunio C Hamano <gitster@pobox.com>2013-07-15 17:56:08 (GMT)
commit480ca6449ed0981311b8aef2fbaa89d024b881ee (patch)
treed9741f5300117f5c66b9b591f2bd44e4a08617c8 /commit.h
parent5ab2a2dabd6e13cd6830ff4f12f232dc79278e29 (diff)
downloadgit-480ca6449ed0981311b8aef2fbaa89d024b881ee.zip
git-480ca6449ed0981311b8aef2fbaa89d024b881ee.tar.gz
git-480ca6449ed0981311b8aef2fbaa89d024b881ee.tar.bz2
convert run_add_interactive to use struct pathspec
This passes the pathspec, more or less unmodified, to git-add--interactive. The command itself does not process pathspec. It simply passes the pathspec to other builtin commands. So if all those commands support pathspec, we're good. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.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 4d452dc..1f1350c 100644
--- a/commit.h
+++ b/commit.h
@@ -194,7 +194,7 @@ int in_merge_bases_many(struct commit *, int, struct commit **);
extern int interactive_add(int argc, const char **argv, const char *prefix, int patch);
extern int run_add_interactive(const char *revision, const char *patch_mode,
- const char **pathspec);
+ const struct pathspec *pathspec);
static inline int single_parent(struct commit *commit)
{