diff options
author | Conrad Irwin <conrad.irwin@gmail.com> | 2011-05-07 10:58:07 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2011-05-09 17:02:33 -0700 |
commit | b4bd466820ee272fccfefff1d23d64c7826d1d07 (patch) | |
tree | 63794ec626b75e5de03a95177d98094dcfe2ba7d /commit.h | |
parent | e41fcfe955cb8080bf8f0e16352d3131d1f01ac8 (diff) | |
download | git-b4bd466820ee272fccfefff1d23d64c7826d1d07.tar.gz |
Add support for -p/--patch to git-commit
The --interactive flag is already shared by git add and git commit,
share the -p and --patch flags too.
Signed-off-by: Conrad Irwin <conrad.irwin@gmail.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
@@ -159,7 +159,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); |