diff options
| author | Junio C Hamano <gitster@pobox.com> | 2025-08-04 08:10:33 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-08-04 08:10:33 -0700 |
| commit | d63f334a8242f9e993b5bfb451f03394023ab877 (patch) | |
| tree | 7ddeaf84467ba1fce6ce2f3bc3d10825694bde53 /commit.h | |
| parent | Merge branch 'ps/config-wo-the-repository' (diff) | |
| parent | add-patch: add diff.context command line overrides (diff) | |
| download | git-d63f334a8242f9e993b5bfb451f03394023ab877.tar.gz git-d63f334a8242f9e993b5bfb451f03394023ab877.zip | |
Merge branch 'lm/add-p-context'
"git add/etc -p" now honor the diff.context configuration variable,
and also they learn to honor the -U<n> command-line option.
* lm/add-p-context:
add-patch: add diff.context command line overrides
add-patch: respect diff.context configuration
t: use test_config in t4055
t: use test_grep in t3701 and t4055
Diffstat (limited to 'commit.h')
| -rw-r--r-- | commit.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -2,6 +2,7 @@ #define COMMIT_H #include "object.h" +#include "add-interactive.h" struct signature_check; struct strbuf; @@ -257,7 +258,7 @@ int for_each_commit_graft(each_commit_graft_fn, void *); int interactive_add(struct repository *repo, const char **argv, const char *prefix, - int patch); + int patch, struct add_p_opt *add_p_opt); struct commit_extra_header { struct commit_extra_header *next; |
