aboutsummaryrefslogtreecommitdiffstats
path: root/add-patch.c
AgeCommit message (Expand)AuthorFilesLines
7 daysadd-patch: plug a leak handling the '/' commandRubén Justo1-0/+1
2024-04-09Merge branch 'rj/add-p-explicit-reshow'Junio C Hamano1-6/+15
2024-03-29add-patch: do not print hunks repeatedlyRubén Justo1-7/+12
2024-03-28add-patch: introduce 'p' in interactive-patchRubén Justo1-0/+4
2024-03-12find multi-byte comment chars in NUL-terminated stringsJeff King1-1/+1
2024-03-12prefer comment_line_str to comment_line_char for printingJeff King1-2/+2
2024-03-12strbuf: accept a comment string for strbuf_commented_addf()Jeff King1-4/+4
2024-02-13add-patch: classify '@' as a synonym for 'HEAD'Ghanshyam Thakkar1-8/+0
2023-12-26treewide: remove unnecessary includes in source filesElijah Newren1-1/+0
2023-07-17Merge branch 'cw/compat-util-header-cleanup'Junio C Hamano1-1/+0
2023-07-06Merge branch 'cw/strbuf-cleanup'Junio C Hamano1-5/+7
2023-07-05git-compat-util: move alloc macros to git-compat-util.hCalvin Wan1-1/+0
2023-06-21diff.h: remove unnecessary include of oidset.hElijah Newren1-0/+1
2023-06-21cache.h: remove this no-longer-used headerElijah Newren1-1/+1
2023-06-21read-cache*.h: move declarations for read-cache.c functions from cache.hElijah Newren1-0/+1
2023-06-12strbuf: remove global variableCalvin Wan1-5/+7
2023-04-11editor: move editor-related functions and declarations into common fileElijah Newren1-0/+1
2023-04-11object-name.h: move declarations for object-name.c functions from cache.hElijah Newren1-0/+1
2023-04-11treewide: be explicit about dependence on advice.hElijah Newren1-0/+1
2023-04-04Merge branch 'ab/remove-implicit-use-of-the-repository' into en/header-split-...Junio C Hamano1-1/+1
2023-03-28cocci: apply the "cache.h" part of "the_repository.pending"Ævar Arnfjörð Bjarmason1-1/+1
2023-03-21environment: move comment_line_char from cache.hElijah Newren1-0/+1
2023-03-21treewide: be explicit about dependence on gettext.hElijah Newren1-0/+1
2023-03-19Merge branch 'jk/add-p-unmerged-fix'Junio C Hamano1-1/+2
2023-03-09add-patch: handle "* Unmerged path" linesJeff King1-1/+2
2023-02-23alloc.h: move ALLOC_GROW() functions from cache.hElijah Newren1-0/+1
2022-11-21read-cache API & users: make discard_index() return voidÆvar Arnfjörð Bjarmason1-1/+2
2022-09-15Merge branch 'rs/add-p-worktree-mode-prompt-fix'Junio C Hamano1-8/+8
2022-09-14add -p: fix worktree patch mode promptsRené Scharfe1-8/+8
2022-09-13Merge branch 'js/builtin-add-p-portability-fix'Junio C Hamano1-1/+1
2022-09-01add -p: ignore dirty submodulesJohannes Schindelin1-1/+2
2022-09-01add -p: gracefully handle unparseable hunk headers in colored diffsJohannes Schindelin1-8/+17
2022-09-01add -p: detect more mismatches between plain vs colored diffsJohannes Schindelin1-1/+4
2022-08-30add -p: avoid ambiguous signed/unsigned comparisonJohannes Schindelin1-1/+1
2022-06-02run-command API: rename "env_array" to "env"Ævar Arnfjörð Bjarmason1-1/+1
2022-02-09Merge branch 'pw/add-p-hunk-split-fix'Junio C Hamano1-7/+13
2022-01-12builtin add -p: fix hunk splittingPhillip Wood1-7/+13
2021-11-25run-command API users: use strvec_pushv(), not argv assignmentÆvar Arnfjörð Bjarmason1-2/+2
2021-07-13*.c static functions: add missing __attribute__((format))Ævar Arnfjörð Bjarmason1-0/+1
2020-12-08Merge branch 'js/add-i-color-fix'Junio C Hamano1-10/+15
2020-11-16add -p (built-in): do not color the progress indicator separatelyJohannes Schindelin1-5/+5
2020-11-11add -i: use `reset_color` consistentlyJohannes Schindelin1-2/+2
2020-11-11add -p (built-in): imitate `xdl_format_hunk_hdr()` generating hunk headersJohannes Schindelin1-3/+8
2020-10-27Merge branch 'dl/checkout-p-merge-base'Junio C Hamano1-0/+8
2020-10-07add-patch: add NEEDSWORK about comparing commitsDenton Liu1-0/+8
2020-09-22Merge branch 'pw/add-p-edit-ita-path'Junio C Hamano1-61/+79
2020-09-18Merge branch 'jk/add-i-fixes'Junio C Hamano1-1/+1
2020-09-18Merge branch 'pw/add-p-leakfix'Junio C Hamano1-8/+16
2020-09-09add -p: fix editing of intent-to-add pathsPhillip Wood1-61/+79
2020-09-08add -p: fix memory leakPhillip Wood1-8/+16
2020-09-08add-patch: fix inverted return code of repo_read_index()Jeff King1-1/+1
2020-09-03Merge branch 'pw/add-p-allowed-options-fix'Junio C Hamano1-25/+42
2020-08-17add -p: fix checking of user inputPhillip Wood1-16/+38
2020-08-17add -p: use ALLOC_GROW_BY instead of ALLOW_GROWPhillip Wood1-9/+4
2020-08-10Merge branch 'jk/strvec'Junio C Hamano1-24/+24
2020-07-30strvec: rename struct fieldsJeff King1-4/+4
2020-07-29comment: fix spelling mistakes inside commentsSteve Kemp1-1/+1
2020-07-28strvec: fix indentation in renamed callsJeff King1-5/+5
2020-07-28strvec: convert more callers away from argv_array nameJeff King1-14/+14
2020-07-28strvec: rename files from argv-array to strvecJeff King1-1/+1
2020-06-08Merge branch 'js/checkout-p-new-file'Junio C Hamano1-7/+23
2020-05-27checkout -p: handle new files correctlyJohannes Schindelin1-7/+23
2020-04-10interactive: refactor code asking the user for interactive inputJohannes Schindelin1-2/+2
2020-01-15built-in add -p: respect the `interactive.singlekey` config settingJohannes Schindelin1-4/+17
2020-01-15built-in add -p: handle diff.algorithmJohannes Schindelin1-0/+3
2020-01-15built-in add -p: support interactive.diffFilterJohannes Schindelin1-0/+33
2019-12-21built-in add -p: implement the "worktree" patch modesJohannes Schindelin1-0/+50
2019-12-21built-in add -p: implement the "checkout" patch modesJohannes Schindelin1-5/+133
2019-12-21built-in add -p: implement the "stash" and "reset" patch modesJohannes Schindelin1-4/+79
2019-12-21built-in add -p: prepare for patch modes other than "stage"Johannes Schindelin1-26/+69
2019-12-13built-in add -p: show helpful hint when nothing can be stagedJohannes Schindelin1-4/+13
2019-12-13built-in add -p: only show the applicable parts of the help textJohannes Schindelin1-4/+28
2019-12-13built-in add -p: implement the 'q' ("quit") commandJohannes Schindelin1-6/+11
2019-12-13built-in add -p: implement the '/' ("search regex") commandJohannes Schindelin1-1/+49
2019-12-13built-in add -p: implement the 'g' ("goto") commandJohannes Schindelin1-0/+88
2019-12-13built-in add -p: implement hunk editingJohannes Schindelin1-17/+316
2019-12-13built-in add -p: coalesce hunks after splitting themJohannes Schindelin1-1/+57
2019-12-13built-in add -p: implement the hunk splitting featureJohannes Schindelin1-2/+213
2019-12-13built-in add -p: show different prompts for mode changes and deletionsJohannes Schindelin1-2/+20
2019-12-13built-in app -p: allow selecting a mode change as a "hunk"Johannes Schindelin1-5/+104
2019-12-13built-in add -p: handle deleted empty filesJohannes Schindelin1-2/+11
2019-12-13built-in add -p: support multi-file diffsJohannes Schindelin1-38/+53
2019-12-13built-in add -p: offer a helpful error message when hunk navigation failedJohannes Schindelin1-11/+33
2019-12-13built-in add -p: color the prompt and the help textJohannes Schindelin1-4/+8
2019-12-13built-in add -p: adjust hunk headers as neededJohannes Schindelin1-12/+133
2019-12-13built-in add -p: show colored hunks by defaultJohannes Schindelin1-17/+62
2019-12-13built-in add -i: start implementing the `patch` functionality in CJohannes Schindelin1-0/+265