summaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-05-16 16:47:10 -0700
committerJunio C Hamano <gitster@pobox.com>2011-05-16 16:47:10 -0700
commit7a77754cf6fde7b513da1283fe76179ffa930ecc (patch)
tree3923485c3d4f775b41c1907dca4cd9bbc4ab3c52 /commit.h
parent018443526875456d335fef2dfbc78bc4de2d340d (diff)
parent02a481fc6aef5d8a52f900448657d1cbe7c963ef (diff)
downloadgit-7a77754cf6fde7b513da1283fe76179ffa930ecc.tar.gz
Merge branch 'ci/commit--interactive-atomic'
* ci/commit--interactive-atomic: Test atomic git-commit --interactive Add commit to list of config.singlekey commands Add support for -p/--patch to git-commit Allow git commit --interactive with paths t7501.8: feed a meaningful command Use a temporary index for git commit --interactive
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 b3c3bb70c5..43940e2bdd 100644
--- a/commit.h
+++ b/commit.h
@@ -161,7 +161,7 @@ extern struct commit_list *get_shallow_commits(struct object_array *heads,
int is_descendant_of(struct commit *, struct commit_list *);
int in_merge_bases(struct commit *, struct commit **, int);
-extern int interactive_add(int argc, const char **argv, const char *prefix);
+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);