aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/commit.c
AgeCommit message (Expand)AuthorFilesLines
2024-01-19refs: convert MERGE_AUTOSTASH to become a normal pseudo-refPatrick Steinhardt1-1/+1
2024-01-08Merge branch 'en/header-cleanup'Junio C Hamano1-8/+0
2024-01-02Merge branch 'la/trailer-cleanups'Junio C Hamano1-1/+1
2023-12-26treewide: remove unnecessary includes in source filesElijah Newren1-8/+0
2023-10-30Merge branch 'jc/commit-new-underscore-index-fix'Junio C Hamano1-4/+4
2023-10-20commit: ignore_non_trailer computes number of bytes to ignoreLinus Arver1-1/+1
2023-10-17commit: do not use cryptic "new_index" in end-user facing messagesJunio C Hamano1-4/+4
2023-07-08Merge branch 'js/empty-index-fixes'Junio C Hamano1-5/+2
2023-07-06Merge branch 'gc/config-context'Junio C Hamano1-8/+12
2023-07-06Merge branch 'cw/strbuf-cleanup'Junio C Hamano1-1/+1
2023-06-29Merge branch 'en/header-split-cache-h-part-3'Junio C Hamano1-3/+7
2023-06-29commit -a -m: allow the top-level tree to become empty againJohannes Schindelin1-5/+2
2023-06-28config: pass kvi to die_bad_number()Glen Choo1-4/+6
2023-06-28config: add ctx arg to config_fn_tGlen Choo1-4/+6
2023-06-26Merge branch 'jk/commit-use-no-divider-with-interpret-trailers'Junio C Hamano1-1/+2
2023-06-21repository: remove unnecessary include of path.hElijah Newren1-0/+1
2023-06-21cache.h: remove this no-longer-used headerElijah Newren1-2/+1
2023-06-21read-cache*.h: move declarations for read-cache.c functions from cache.hElijah Newren1-0/+1
2023-06-21preload-index.h: move declarations for preload-index.c from elsewhereElijah Newren1-0/+1
2023-06-21sparse-index.h: move declarations for sparse-index.c from cache.hElijah Newren1-0/+1
2023-06-21add: modify add_files_to_cache() to avoid globalsElijah Newren1-1/+2
2023-06-16commit: pass --no-divider to interpret-trailersJeff King1-1/+2
2023-06-12strbuf: remove global variableCalvin Wan1-1/+1
2023-06-03surround %s with quotes when failed to lookup commitTeng Long1-3/+3
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-13/+16
2023-03-28cocci: apply the "pretty.h" part of "the_repository.pending"Ævar Arnfjörð Bjarmason1-5/+8
2023-03-28cocci: apply the "commit.h" part of "the_repository.pending"Ævar Arnfjörð Bjarmason1-4/+4
2023-03-28cocci: apply the "cache.h" part of "the_repository.pending"Ævar Arnfjörð Bjarmason1-4/+4
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-17Merge branch 'jc/gpg-lazy-init'Junio C Hamano1-4/+0
2023-02-10cocci & cache.h: remove "USE_THE_INDEX_COMPATIBILITY_MACROS"Ævar Arnfjörð Bjarmason1-3/+3
2023-02-10cache-tree API: remove redundant update_main_cache_tree()Ævar Arnfjörð Bjarmason1-5/+5
2023-02-10cocci & cache.h: fully apply "active_nr" part of index-compatibilityÆvar Arnfjörð Bjarmason1-1/+1
2023-02-09gpg-interface: lazily initialize and read the configurationJunio C Hamano1-4/+0
2022-12-14Merge branch 'ab/various-leak-fixes'Junio C Hamano1-5/+8
2022-11-21built-ins: use free() not UNLEAK() if trivial, rm dead codeÆvar Arnfjörð Bjarmason1-3/+3
2022-11-21commit: discard partial cache before (re-)reading itÆvar Arnfjörð Bjarmason1-2/+5
2022-11-21cocci: apply "pending" index-compatibility to some "builtin/*.c"Ævar Arnfjörð Bjarmason1-18/+22
2022-11-21cocci & cache.h: apply variable section of "pending" index-compatibilityÆvar Arnfjörð Bjarmason1-8/+8
2022-11-21cocci & cache.h: apply a selection of "pending" index-compatibilityÆvar Arnfjörð Bjarmason1-1/+1
2022-11-21cocci & cache.h: remove rarely used "the_index" compat macrosÆvar Arnfjörð Bjarmason1-1/+1
2022-10-28Merge branch 'ab/doc-synopsis-and-cmd-usage'Junio C Hamano1-2/+9
2022-10-13doc txt & -h consistency: make "commit" consistentÆvar Arnfjörð Bjarmason1-1/+8
2022-10-13doc txt & -h consistency: use "[<label>...]" for "zero or more"Ævar Arnfjörð Bjarmason1-1/+1
2022-10-06commit: avoid writing to global in option callbackJeff King1-2/+2
2022-06-07Merge branch 'ab/plug-leak-in-revisions'Junio C Hamano1-3/+3
2022-05-23Merge branch 'ab/commit-plug-leaks'Junio C Hamano1-3/+6
2022-05-20Merge branch 'ep/maint-equals-null-cocci'Junio C Hamano1-1/+1
2022-05-12commit: fix "author_ident" leakJunio C Hamano1-3/+6
2022-05-02Merge branch 'ep/maint-equals-null-cocci' for maint-2.35Junio C Hamano1-1/+1
2022-05-02tree-wide: apply equals-null.cocciJunio C Hamano1-1/+1
2022-04-13revisions API: have release_revisions() release "mailmap"Ævar Arnfjörð Bjarmason1-3/+2
2022-04-13revisions API users: add straightforward release_revisions()Ævar Arnfjörð Bjarmason1-0/+1
2022-03-07hooks: fix an obscure TOCTOU "did we just run a hook?" raceÆvar Arnfjörð Bjarmason1-7/+11
2022-02-25Merge branch 'ab/date-mode-release'Junio C Hamano1-0/+1
2022-02-16date API: create a date.h, split from cache.hÆvar Arnfjörð Bjarmason1-0/+1
2022-02-04i18n: factorize more 'incompatible options' messagesJean-Noël Avila1-20/+15
2022-01-05i18n: turn even more messages into "cannot be used together" onesJean-Noël Avila1-4/+5
2022-01-05i18n: factorize "--foo requires --bar" and the likeJean-Noël Avila1-1/+1
2022-01-05i18n: turn "options are incompatible" into "cannot be used together"Jean-Noël Avila1-3/+3
2021-09-27hook.c users: use "hook_exists()" instead of "find_hook()"Ævar Arnfjörð Bjarmason1-1/+1
2021-09-27hook.[ch]: move find_hook() from run-command.c to hook.cÆvar Arnfjörð Bjarmason1-0/+1
2021-09-10Merge branch 'ab/retire-advice-config'Junio C Hamano1-2/+2
2021-08-25advice: remove read uses of most global `advice_` variablesBen Boeckel1-2/+2
2021-08-15commit: restore --edit when combined with --fixupJoel Klinghed1-2/+3
2021-08-04Merge branch 'ds/commit-and-checkout-with-sparse-index'Junio C Hamano1-0/+3
2021-07-28Merge branch 'ds/status-with-sparse-index'Junio C Hamano1-0/+3
2021-07-14commit: integrate with sparse-indexDerrick Stolee1-0/+3
2021-07-14status: use sparse-index throughoutDerrick Stolee1-0/+3
2021-07-09commit: remove irrelavent prompt on `--allow-empty-message`Hu Jialun1-9/+16
2021-07-09commit: reorganise commit hint stringsHu Jialun1-10/+10
2021-04-30Merge branch 'ds/sparse-index-protections'Junio C Hamano1-0/+4
2021-04-14commit: ensure full indexDerrick Stolee1-0/+4
2021-04-07Merge branch 'zh/commit-trailer'Junio C Hamano1-0/+22
2021-03-26Merge branch 'cm/rebase-i-fixup-amend-reword'Junio C Hamano1-10/+112
2021-03-23commit: add --trailer optionZheNing Hu1-0/+22
2021-03-15commit: add a reword suboption to --fixupCharvi Mendiratta1-6/+25
2021-03-15commit: add amend suboption to --fixup to create amend! commitCharvi Mendiratta1-10/+93
2021-01-12shortlog: remove unused(?) "repo-abbrev" featureÆvar Arnfjörð Bjarmason1-1/+1
2020-10-20Documentation: stylistically normalize references to Signed-off-by:Bradley M. Kuhn1-1/+1
2020-09-30drop unused argc parametersJeff King1-6/+6
2020-09-25Merge branch 'ds/maintenance-part-1'Junio C Hamano1-1/+1
2020-09-17maintenance: replace run_auto_gc()Derrick Stolee1-1/+1
2020-09-03Merge branch 'pw/rebase-i-more-options'Junio C Hamano1-2/+2
2020-08-21builtin/commit: suggest update-ref for pseudoref removalHan-Wen Nienhuys1-14/+12
2020-08-17am: stop exporting GIT_COMMITTER_DATEPhillip Wood1-2/+2
2020-07-30strvec: rename struct fieldsJeff King1-1/+1
2020-07-28strvec: convert builtin/ callers away from argv_array nameJeff King1-3/+3
2020-05-13Merge branch 'jc/auto-gc-quiet'Junio C Hamano1-2/+1
2020-05-07auto-gc: pass --quiet down from am, commit, merge and rebaseJunio C Hamano1-2/+1
2020-05-05Merge branch 'dl/opt-callback-cleanup'Junio C Hamano1-4/+4
2020-05-01Merge branch 'ds/blame-on-bloom'Junio C Hamano1-3/+1
2020-04-29Merge branch 'dl/merge-autostash'Junio C Hamano1-0/+2
2020-04-28Use OPT_CALLBACK and OPT_CALLBACK_FDenton Liu1-4/+4
2020-04-16tests: write commit-graph with Bloom filtersDerrick Stolee1-3/+1
2020-04-10merge: teach --autostash optionDenton Liu1-0/+2
2020-03-26Merge branch 'bc/sha-256-part-1-of-4'Junio C Hamano1-1/+1
2020-03-25Merge branch 'pw/advise-rebase-skip'Junio C Hamano1-16/+24
2020-02-24commit: use expected signature header for SHA-256brian m. carlson1-1/+1
2020-02-14Merge branch 'tb/commit-graph-object-dir'Junio C Hamano1-1/+1
2020-02-05Merge branch 'js/patch-mode-in-others-in-c'Junio C Hamano1-2/+6
2020-02-04commit-graph.h: store an odb in 'struct write_commit_graph_context'Taylor Blau1-1/+1
2020-01-22Merge branch 'hw/commit-advise-while-rejecting'Junio C Hamano1-0/+1
2019-12-25Merge branch 'am/pathspec-from-file'Junio C Hamano1-0/+3
2019-12-21commit --interactive: make it work with the built-in `add -i`Johannes Schindelin1-2/+6
2019-12-19commit: honor advice.statusHints when rejecting an empty commitHeba Waly1-0/+1
2019-12-18commit: forbid --pathspec-from-file --allAlexandr Miloslavskiy1-0/+3
2019-12-16Merge branch 'rs/commit-export-env-simplify'Junio C Hamano1-1/+1
2019-12-10Merge branch 'am/pathspec-from-file'Junio C Hamano1-4/+21
2019-12-09commit: use strbuf_add() to add a length-limited stringRené Scharfe1-1/+1
2019-12-06commit: give correct advice for empty commit during a rebasePhillip Wood1-5/+19
2019-12-06commit: encapsulate determine_whence() for sequencerPhillip Wood1-4/+1
2019-12-06commit: use enum value for multiple cherry-picksPhillip Wood1-14/+11
2019-11-20commit: support the --pathspec-from-file optionAlexandr Miloslavskiy1-4/+21
2019-11-10Merge branch 'pw/post-commit-from-sequencer'Junio C Hamano1-22/+0
2019-10-16move run_commit_hook() to libgit and use it therePhillip Wood1-22/+0
2019-08-19wt-status: convert struct wt_status to object_idbrian m. carlson1-2/+2
2019-07-29Merge branch 'ds/close-object-store' into maintJunio C Hamano1-2/+3
2019-07-19Merge branch 'ra/cherry-pick-revert-skip'Junio C Hamano1-5/+8
2019-07-19Merge branch 'ds/commit-graph-incremental'Junio C Hamano1-1/+1
2019-07-09Merge branch 'jh/status-aheadbehind'Junio C Hamano1-1/+18
2019-07-09Merge branch 'nd/switch-and-restore'Junio C Hamano1-2/+2
2019-07-09Merge branch 'ds/commit-graph-write-refactor'Junio C Hamano1-2/+3
2019-07-02cherry-pick/revert: advise using --skipRohit Ashiwal1-5/+8
2019-06-21status: ignore status.aheadbehind in porcelain formatsJeff Hostetler1-4/+6
2019-06-21status: add status.aheadbehind settingJeff Hostetler1-1/+16
2019-06-19commit-graph: create options for split filesDerrick Stolee1-1/+1
2019-06-12commit-graph: collapse parameters into flagsDerrick Stolee1-1/+1
2019-06-12commit-graph: return with errors during writeDerrick Stolee1-2/+3
2019-05-13Merge branch 'pw/clean-sequencer-state-upon-final-commit'Junio C Hamano1-2/+1
2019-05-09Merge branch 'dl/merge-cleanup-scissors-fix'Junio C Hamano1-29/+20
2019-05-07doc: promote "git restore"Nguyễn Thái Ngọc Duy1-1/+1
2019-04-25Merge branch 'nd/commit-a-with-paths-msg-update'Junio C Hamano1-1/+2
2019-04-18merge: add scissors line on merge conflictDenton Liu1-5/+17
2019-04-18parse-options.h: extract common --cleanup optionDenton Liu1-1/+1
2019-04-18commit: extract cleanup_mode functions to sequencerDenton Liu1-23/+2
2019-04-17commit/reset: try to clean up sequencer statePhillip Wood1-2/+1
2019-03-22commit: improve error message in "-a <paths>" caseNguyễn Thái Ngọc Duy1-1/+2
2019-03-20report_path_error(): drop unused prefix parameterJeff King1-3/+3
2019-03-07Merge branch 'nd/completion-more-parameters'Junio C Hamano1-0/+8
2019-03-07Merge branch 'wh/author-committer-ident-config'Junio C Hamano1-1/+2
2019-02-20completion: add more parameter value completionNguyễn Thái Ngọc Duy1-0/+8
2019-02-06Merge branch 'nd/the-index-final'Junio C Hamano1-3/+4
2019-02-04config: allow giving separate author and committer identsWilliam Hubbs1-1/+2
2019-01-29Merge branch 'jk/save-getenv-result'Junio C Hamano1-1/+2
2019-01-24cache.h: flip NO_THE_INDEX_COMPATIBILITY_MACROS switchNguyễn Thái Ngọc Duy1-0/+1
2019-01-14read-cache.c: replace update_index_if_able with repo_&Nguyễn Thái Ngọc Duy1-1/+1
2019-01-14read-cache.c: kill read_index()Nguyễn Thái Ngọc Duy1-1/+1
2019-01-14notes-utils.c: remove the_repository referencesNguyễn Thái Ngọc Duy1-1/+1
2019-01-11commit: copy saved getenv() resultJeff King1-1/+2
2019-01-04Merge branch 'nd/the-index'Junio C Hamano1-3/+5
2018-11-18Merge branch 'jk/unused-parameter-fixes'Junio C Hamano1-1/+4
2018-11-12diff-lib.c: remove the_repository referencesNguyễn Thái Ngọc Duy1-1/+2
2018-11-12sequencer.c: remove implicit dependency on the_indexNguyễn Thái Ngọc Duy1-1/+2
2018-11-12wt-status.c: remove implicit dependency on the_indexNguyễn Thái Ngọc Duy1-1/+1
2018-11-06assert NOARG/NONEG behavior of parse-options callbacksJeff King1-0/+3
2018-11-06status: mark --find-renames option with NONEGJeff King1-1/+1
2018-11-06refresh_index: remove unnecessary calls to preload_index()Ben Peart1-1/+1
2018-10-19Merge branch 'nd/status-refresh-progress'Junio C Hamano1-2/+8
2018-10-19Merge branch 'ss/wt-status-committable'Junio C Hamano1-9/+12
2018-10-19Merge branch 'nd/the-index'Junio C Hamano1-2/+2
2018-10-16Merge branch 'en/status-multiple-renames-to-the-same-target-fix'Junio C Hamano1-0/+1
2018-10-16Merge branch 'ab/commit-graph-progress'Junio C Hamano1-1/+1
2018-10-03roll wt_status_state into wt_status and populate in the collect phaseStephen P. Smith1-0/+3
2018-09-27commit: fix erroneous BUG, 'multiple renames on the same target? how?'Elijah Newren1-0/+1
2018-09-21revision.c: remove implicit dependency on the_indexNguyễn Thái Ngọc Duy1-1/+1
2018-09-21rerere.c: remove implicit dependency on the_indexNguyễn Thái Ngọc Duy1-1/+1
2018-09-17Merge branch 'ds/commit-graph-tests'Junio C Hamano1-0/+4
2018-09-17Merge branch 'ds/reachable'Junio C Hamano1-0/+1
2018-09-17status: show progress bar if refreshing the index takes too longNguyễn Thái Ngọc Duy1-2/+8
2018-09-07wt-status: rename commitable to committableStephen P. Smith1-9/+9
2018-08-29commit-graph: define GIT_TEST_COMMIT_GRAPHDerrick Stolee1-0/+4
2018-08-20Merge branch 'nd/no-the-index'Junio C Hamano1-1/+1
2018-08-15Merge branch 'nd/i18n'Junio C Hamano1-3/+3
2018-08-13dir.c: remove an implicit dependency on the_index in pathspec codeNguyễn Thái Ngọc Duy1-1/+1
2018-07-23Update messages in preparation for i18nNguyễn Thái Ngọc Duy1-3/+3
2018-07-20commit.h: remove method declarationsDerrick Stolee1-0/+1
2018-07-18Merge branch 'sb/object-store-grafts'Junio C Hamano1-19/+19
2018-06-29Merge branch 'sb/object-store-grafts' into sb/object-store-lookupJunio C Hamano1-19/+19
2018-06-25Merge branch 'nd/complete-config-vars'Junio C Hamano1-18/+18
2018-05-30Merge branch 'bp/status-rename-config'Junio C Hamano1-0/+42
2018-05-30Merge branch 'js/use-bug-macro'Junio C Hamano1-1/+1
2018-05-29help: add --config to list all available configNguyễn Thái Ngọc Duy1-0/+3
2018-05-29Add and use generic name->id mapping code for color slot parsingNguyễn Thái Ngọc Duy1-18/+15
2018-05-18path.c: migrate global git_path_* to take a repository argumentStefan Beller1-19/+19
2018-05-13add status config and command line options for rename detectionBen Peart1-0/+42
2018-05-06Replace all die("BUG: ...") calls by BUG() onesJohannes Schindelin1-1/+1
2018-05-06wt-status: use settings from git_diff_ui_configEckhard S. Maaß1-1/+1
2018-04-25Merge branch 'bw/commit-partial-from-subdirectory-fix'Junio C Hamano1-2/+1
2018-04-05commit: allow partial commits with relative pathsBrandon Williams1-2/+1
2018-03-21Merge branch 'ma/skip-writing-unchanged-index'Junio C Hamano1-7/+3
2018-03-08Merge branch 'ab/gc-auto-in-commit'Junio C Hamano1-0/+2
2018-03-08Merge branch 'jh/status-no-ahead-behind'Junio C Hamano1-0/+7
2018-03-01write_locked_index(): add flag to avoid writing unchanged indexMartin Ågren1-7/+3
2018-03-01commit: run git gc --auto just before the post-commit hookÆvar Arnfjörð Bjarmason1-0/+2
2018-02-27Merge branch 'ab/commit-m-with-fixup' into maintJunio C Hamano1-3/+5