summaryrefslogtreecommitdiffstats
path: root/apply.c
AgeCommit message (Expand)AuthorLines
2025-08-05Merge branch 'ps/object-file-wo-the-repository'Junio C Hamano-4/+7
2025-07-23config: drop `git_config_get_string()` wrapperPatrick Steinhardt-2/+2
2025-07-23config: drop `git_config()` wrapperPatrick Steinhardt-1/+1
2025-07-16odb: introduce `odb_write_object()`Patrick Steinhardt-4/+7
2025-07-15Merge branch 'ps/object-store'Junio C Hamano-7/+7
2025-07-07apply: only write intents to add for new filesRaymond E. Pasco-1/+1
2025-07-07apply: read in the index in --intent-to-add modeRaymond E. Pasco-1/+1
2025-07-01odb: rename `has_object()`Patrick Steinhardt-1/+1
2025-07-01odb: rename `repo_read_object_file()`Patrick Steinhardt-5/+5
2025-07-01object-store: rename files to "odb.{c,h}"Patrick Steinhardt-1/+1
2025-05-27apply: set file mode when --reverse creates a deleted fileMark Mentovai-1/+1
2025-04-24Merge branch 'ps/parse-options-integers'Junio C Hamano-2/+2
2025-04-17parse-options: detect mismatches in integer signednessPatrick Steinhardt-2/+2
2025-04-15object-store: merge "object-store-ll.h" and "object-store.h"Patrick Steinhardt-1/+1
2025-03-03apply.c: *.txt -> *.adoc fixesTodd Zullinger-1/+1
2025-02-10Merge branch 'pw/apply-ulong-overflow-check'Junio C Hamano-0/+3
2025-01-30apply: detect overflow when parsing hunk headerPhillip Wood-0/+3
2024-12-06global: mark code units that generate warnings with `-Wsign-compare`Patrick Steinhardt-0/+1
2024-09-25Merge branch 'ps/apply-leakfix'Junio C Hamano-249/+200
2024-09-23Merge branch 'ps/environ-wo-the-repository'Junio C Hamano-1/+2
2024-09-17apply: refactor `struct image` to use a `struct strbuf`Patrick Steinhardt-121/+73
2024-09-17apply: rename members that track line count and allocation lengthPatrick Steinhardt-46/+45
2024-09-17apply: refactor code to drop `line_allocated`Patrick Steinhardt-19/+14
2024-09-17apply: introduce macro and function to init imagesPatrick Steinhardt-8/+14
2024-09-17apply: rename functions operating on `struct image`Patrick Steinhardt-31/+30
2024-09-17apply: reorder functions to move image-related things togetherPatrick Steinhardt-53/+53
2024-09-12environment: make `get_git_dir()` accept a repositoryPatrick Steinhardt-1/+2
2024-09-09apply: support --ours, --theirs, and --union for three-way mergesAlex Henrie-2/+18
2024-08-14Merge branch 'jk/apply-patch-mode-check-fix'Junio C Hamano-0/+1
2024-08-05apply: canonicalize modes read from patchesJeff King-0/+1
2024-07-08Merge branch 'ps/leakfixes-more'Junio C Hamano-32/+56
2024-06-14global: introduce `USE_THE_REPOSITORY_VARIABLE` macroPatrick Steinhardt-0/+2
2024-06-14hash: require hash algorithm in `oidread()` and `oidclr()`Patrick Steinhardt-1/+1
2024-06-11apply: fix leaking string in `match_fragment()`Patrick Steinhardt-32/+55
2024-06-11parse-options: fix leaks for users of OPT_FILENAMEPatrick Steinhardt-0/+1
2024-04-25Merge branch 'rj/add-i-leak-fix'Junio C Hamano-1/+3
2024-04-22apply: plug a leak in apply_dataRubén Justo-1/+3
2024-04-16apply: avoid using fixed-size buffer in write_out_one_reject()René Scharfe-16/+17
2024-04-15Merge branch 'rs/apply-reject-fd-leakfix'Junio C Hamano-2/+5
2024-04-15Merge branch 'rs/apply-lift-path-length-limit'Junio C Hamano-6/+9
2024-04-09Merge branch 'jc/apply-parse-diff-git-header-names-fix'Junio C Hamano-1/+8
2024-04-05apply: don't leak fd on fdopen() errorRené Scharfe-2/+5
2024-04-05apply: avoid fixed-size buffer in create_one_file()René Scharfe-6/+9
2024-03-19apply: parse names out of "diff --git" more carefullyJunio C Hamano-1/+8
2024-02-27Merge branch 'jc/am-whitespace-doc'Junio C Hamano-1/+2
2024-02-26Merge branch 'cp/apply-core-filemode'Junio C Hamano-3/+13
2024-02-14doc: add shortcut to "am --whitespace=<action>"Junio C Hamano-1/+2
2023-12-26apply: code simplificationJunio C Hamano-4/+8
2023-12-26apply: correctly reverse patch's pre- and post-image mode bitsJunio C Hamano-4/+4
2023-12-26apply: ignore working tree filemode when !core.filemodeChandra Pratap-2/+8