diff options
| author | Junio C Hamano <gitster@pobox.com> | 2019-12-05 12:52:43 -0800 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2019-12-05 12:52:43 -0800 |
| commit | f7998d979322c439578a4334524ae2c924042705 (patch) | |
| tree | dee4df2a225eebc8e83bb5b54fa93835cdf3b498 /add-interactive.h | |
| parent | 917d0d6234be4c6ce4ab0feea15911bfa5e65253 (diff) | |
| parent | 8c159044625e46de67cd8467f07424f38eb8301e (diff) | |
| download | git-f7998d979322c439578a4334524ae2c924042705.tar.gz | |
Merge branch 'js/builtin-add-i'
The beginning of rewriting "git add -i" in C.
* js/builtin-add-i:
built-in add -i: implement the `help` command
built-in add -i: use color in the main loop
built-in add -i: support `?` (prompt help)
built-in add -i: show unique prefixes of the commands
built-in add -i: implement the main loop
built-in add -i: color the header in the `status` command
built-in add -i: implement the `status` command
diff: export diffstat interface
Start to implement a built-in version of `git add --interactive`
Diffstat (limited to 'add-interactive.h')
| -rw-r--r-- | add-interactive.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/add-interactive.h b/add-interactive.h new file mode 100644 index 0000000000..7043b8741d --- /dev/null +++ b/add-interactive.h @@ -0,0 +1,8 @@ +#ifndef ADD_INTERACTIVE_H +#define ADD_INTERACTIVE_H + +struct repository; +struct pathspec; +int run_add_i(struct repository *r, const struct pathspec *ps); + +#endif |
