aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/commit.c
AgeCommit message (Expand)AuthorFilesLines
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-02-06Merge branch 'nd/the-index-final'Junio C Hamano1-3/+4
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
2018-02-27Merge branch 'nd/ita-wt-renames-in-status' into maintJunio C Hamano1-1/+1
2018-02-15Merge branch 'po/object-id'Junio C Hamano1-2/+3
2018-02-13Merge branch 'pw/sequencer-in-process-commit'Junio C Hamano1-260/+31
2018-01-30commit: convert commit_tree* to object_idPatryk Obara1-2/+3
2018-01-24status: add --[no-]ahead-behind to status and commit for V2 format.Jeff Hostetler1-0/+7
2018-01-24sequencer: run 'prepare-commit-msg' hookPhillip Wood1-2/+0
2018-01-23Merge branch 'ab/commit-m-with-fixup'Junio C Hamano1-3/+5
2018-01-23Merge branch 'nd/ita-wt-renames-in-status'Junio C Hamano1-1/+1
2017-12-27Use DIFF_DETECT_RENAME for detect_rename assignmentsNguyễn Thái Ngọc Duy1-1/+1
2017-12-22commit: add support for --fixup <commit> -m"<extra message>"Ævar Arnfjörð Bjarmason1-3/+5
2017-11-24commit: move print_commit_summary() to libgitPhillip Wood1-119/+9
2017-11-18commit: move post-rewrite code to libgitPhillip Wood1-41/+1
2017-11-18Add a function to update HEAD after creating a commitPhillip Wood1-18/+2
2017-11-15Merge branch 'ma/reduce-heads-leakfix'Junio C Hamano1-1/+1
2017-11-13Merge branch 'jm/status-ignored-files-list'Junio C Hamano1-6/+25
2017-11-11commit: move empty message checks to libgitPhillip Wood1-80/+19
2017-11-09Merge branch 'bw/diff-opt-impl-to-bitfields'Junio C Hamano1-3/+4
2017-11-08reduce_heads: fix memory leaksMartin Ågren1-1/+1
2017-11-06Merge branch 'bc/object-id'Junio C Hamano1-2/+2
2017-11-06Merge branch 'ao/check-resolve-ref-unsafe-result'Junio C Hamano1-0/+2
2017-11-06Merge branch 'ma/lockfile-fixes'Junio C Hamano1-5/+5
2017-11-01diff: make struct diff_flags members lowercaseBrandon Williams1-2/+2
2017-11-01diff: convert flags to be stored in bitfieldsBrandon Williams1-3/+4
2017-10-31status: add option to show ignored files differentlyJameson Miller1-6/+25
2017-10-21commit: check result of resolve_ref_unsafeAndrey Okoshkin1-0/+2
2017-10-16refs: update ref transactions to use struct object_idbrian m. carlson1-2/+2
2017-10-07read-cache: drop explicit `CLOSE_LOCK`-flagMartin Ågren1-5/+5
2017-10-03Merge branch 'jk/no-optional-locks'Junio C Hamano1-1/+4
2017-09-29Merge branch 'ma/leakplugs'Junio C Hamano1-5/+10
2017-09-27git: add --no-optional-locks optionJeff King1-1/+4
2017-09-24refs: pass NULL to resolve_ref_unsafe() if hash is not neededRené Scharfe1-2/+1
2017-09-24builtin/commit: fix memory leak in `prepare_index()`Martin Ågren1-5/+10
2017-09-08add UNLEAK annotation for reducing leak false positivesJeff King1-1/+2
2017-08-26Merge branch 'bw/submodule-config-cleanup'Junio C Hamano1-1/+0
2017-08-23Merge branch 'ks/commit-abort-on-empty-message-fix' into maintJunio C Hamano1-5/+5
2017-08-23Merge branch 'kw/commit-keep-index-when-pre-commit-is-not-run'Junio C Hamano1-6/+9
2017-08-16commit: skip discarding the index if there is no pre-commit hookKevin Willford1-6/+9
2017-08-11Merge branch 'ks/commit-abort-on-empty-message-fix'Junio C Hamano1-5/+5
2017-08-03submodule: remove gitmodules_configBrandon Williams1-1/+0
2017-07-17commit: check for empty message before the check for untouched templateKaartic Sivaraam1-5/+5
2017-07-17sha1_name: convert get_sha1* to get_oid*brian m. carlson1-4/+4
2017-07-10Merge branch 'ks/typofix-commit-c-comment'Junio C Hamano1-1/+1
2017-07-10Merge branch 'ks/commit-assuming-only-warning-removal'Junio C Hamano1-8/+1
2017-07-06builtin/commit.c: fix a typo in the commentKaartic Sivaraam1-1/+1
2017-06-30Merge branch 'ks/status-initial-commit'Junio C Hamano1-0/+1
2017-06-30commit-template: distinguish status information unconditionallyKaartic Sivaraam1-2/+1
2017-06-30commit-template: remove outdated notice about explicit pathsKaartic Sivaraam1-6/+0
2017-06-26Merge branch 'lb/status-stash-count'Junio C Hamano1-0/+6
2017-06-24Merge branch 'bw/config-h'Junio C Hamano1-0/+1
2017-06-24Merge branch 'bw/ls-files-sans-the-index'Junio C Hamano1-1/+2
2017-06-21status: contextually notify user about an initial commitKaartic Sivaraam1-0/+1
2017-06-19Merge branch 'bw/object-id'Junio C Hamano1-1/+1
2017-06-18status: add optional stash count informationLiam Beguin1-0/+6
2017-06-15config: don't include config.h by defaultBrandon Williams1-0/+1
2017-06-13Merge branch 'nd/fopen-errors'Junio C Hamano1-4/+1
2017-06-13ls-files: convert overlay_tree_on_cache to take an indexBrandon Williams1-1/+2
2017-06-02builtin/notes: convert to struct object_idbrian m. carlson1-1/+1
2017-05-29Merge branch 'bm/interpret-trailers-cut-line-is-eom'Junio C Hamano1-1/+1
2017-05-29Merge branch 'bc/object-id'Junio C Hamano1-4/+4
2017-05-26use xfopen() in more placesNguyễn Thái Ngọc Duy1-4/+1
2017-05-18interpret-trailers: honor the cut lineBrian Malehorn1-1/+1
2017-05-08tree: convert parse_tree_indirect to struct object_idbrian m. carlson1-1/+1
2017-05-08Convert lookup_commit* to struct object_idbrian m. carlson1-2/+2
2017-05-02Convert struct cache_tree to use struct object_idbrian m. carlson1-1/+1
2017-04-28status: add color config slots for branch info in "--short --branch"Stephen Kent1-0/+4
2017-04-26Merge branch 'jk/war-on-git-path'Junio C Hamano1-3/+3
2017-04-23Merge branch 'nd/conditional-config-include'Junio C Hamano1-1/+1
2017-04-20use git_path_* helper functionsJeff King1-3/+3
2017-04-14path.c: and an option to call real_path() in expand_user_path()Nguyễn Thái Ngọc Duy1-1/+1
2017-02-20builtin/commit: convert to struct object_idbrian m. carlson1-23/+23
2017-01-31builtin/commit.c: switch to strbuf, instead of snprintf()Elia Pinto1-6/+4
2017-01-13builtin/commit.c: remove the PATH_MAX limitation via dynamic allocationElia Pinto1-11/+10
2016-12-19Merge branch 'jc/lock-report-on-error'Junio C Hamano1-4/+4
2016-12-19Merge branch 'ak/commit-only-allow-empty'Junio C Hamano1-3/+1
2016-12-09commit: remove 'Clever' message for --only --amendAndreas Krey1-2/+0
2016-12-07hold_locked_index(): align error handling with hold_lockfile_for_update()Junio C Hamano1-4/+4
2016-12-05commit: make --only --allow-empty work without pathsAndreas Krey1-1/+1
2016-11-29commit: make ignore_non_trailer take buf/lenJonathan Tan1-1/+1
2016-10-31Merge branch 'rs/commit-pptr-simplify'Junio C Hamano1-8/+6
2016-10-30commit: simplify building parents listRené Scharfe1-8/+6
2016-10-27Merge branch 'nd/ita-empty-commit'Junio C Hamano1-4/+9
2016-10-24commit: don't be fooled by ita entries when creating initial commitNguyễn Thái Ngọc Duy1-3/+8
2016-10-24commit: fix empty commit creation when there's no changes but ita entriesNguyễn Thái Ngọc Duy1-1/+1
2016-10-17sequencer: use memoized sequencer directory pathJohannes Schindelin1-1/+1
2016-09-26Merge branch 'tg/add-chmod+x-fix'Junio C Hamano1-1/+1
2016-09-15add: modify already added files when --chmod is givenThomas Gummerer1-1/+1
2016-09-08Merge branch 'jh/status-v2-porcelain'Junio C Hamano1-44/+34
2016-08-11status: print branch info with --porcelain=v2 --branchJeff Hostetler1-0/+5
2016-08-11status: collect per-file data for --porcelain=v2Jeff Hostetler1-0/+3
2016-08-10Merge branch 'os/no-verify-skips-commit-msg-too' into maintJunio C Hamano1-1/+1
2016-08-08Merge branch 'pb/commit-editmsg-path' into maintJunio C Hamano1-7/+8
2016-08-05status: support --porcelain[=<version>]Jeff Hostetler1-3/+18
2016-08-05status: cleanup API to wt_status_printJeff Hostetler1-42/+9
2016-08-05status: rename long-format print routinesJeff Hostetler1-2/+2
2016-08-03Merge branch 'os/no-verify-skips-commit-msg-too'Junio C Hamano1-1/+1
2016-07-28Merge branch 'js/find-commit-subject-ignore-leading-blanks' into maintJunio C Hamano1-1/+1
2016-07-26commit: describe that --no-verify skips the commit-msg hook in the help textOrgad Shaneh1-1/+1
2016-07-11Merge branch 'js/find-commit-subject-ignore-leading-blanks'Junio C Hamano1-1/+1
2016-07-06Merge branch 'pb/commit-editmsg-path'Junio C Hamano1-7/+8
2016-06-29commit -C: skip blank lines at the beginning of the messageJohannes Schindelin1-1/+1
2016-06-09builtin/commit.c: memoize git-path for COMMIT_EDITMSGPranit Bauva1-7/+8
2016-06-07add: add --chmod=+x / --chmod=-x optionsEdward Thomson1-1/+1
2016-05-23Merge branch 'pb/commit-verbose-config'Junio C Hamano1-0/+10
2016-05-10commit: add a commit.verbose config variablePranit Bauva1-0/+10
2016-05-02Merge branch 'ad/commit-have-m-option' into maintJunio C Hamano1-3/+3
2016-04-22Merge branch 'ad/commit-have-m-option'Junio C Hamano1-3/+3
2016-04-14Merge branch 'ss/commit-squash-msg' into maintJunio C Hamano1-1/+10
2016-04-07commit: do not ignore an empty message given by -m ''Jeff King1-3/+3
2016-04-06Merge branch 'ss/commit-squash-msg'Junio C Hamano1-1/+10
2016-03-21commit: do not lose SQUASH_MSG contentsSven Strickroth1-1/+10
2016-02-25diff: activate diff.renames by defaultMatthieu Moy1-0/+1
2016-01-28Merge branch 'jc/strbuf-getline'Junio C Hamano1-1/+1
2016-01-20Merge branch 'js/fopen-harder'Junio C Hamano1-1/+1
2016-01-15strbuf: introduce strbuf_getline_{lf,nul}()Junio C Hamano1-1/+1
2016-01-07commit: allow editing the commit message even in shared reposJohannes Schindelin1-1/+1
2015-12-10Merge branch 'bc/object-id'Junio C Hamano1-4/+4
2015-11-20Remove get_object_hash.brian m. carlson1-4/+4
2015-11-20Add several uses of get_object_hash.brian m. carlson1-4/+4
2015-11-16allow hooks to ignore their standard input streamClemens Buchacher1-0/+3
2015-10-16strbuf: make stripspace() part of strbufTobias Klauser1-3/+3
2015-09-01Merge branch 'dt/commit-preserve-base-index-upon-opportunistic-cache-tree-upd...Junio C Hamano1-3/+1
2015-08-31commit: don't rewrite shared index unnecessarilyDavid Turner1-3/+1
2015-08-25Merge branch 'mh/tempfile'Junio C Hamano1-7/+8
2015-08-10memoize common git-path "constant" filesJeff King1-16/+16
2015-08-10lockfile: add accessor get_lock_file_path()Michael Haggerty1-7/+8
2015-06-29convert "enum date_mode" into a structJeff King1-2/+2
2015-06-05Merge branch 'pt/xdg-config-path' into maintJunio C Hamano1-5/+3
2015-05-26Merge branch 'nd/untracked-cache'Junio C Hamano1-2/+3
2015-05-11Merge branch 'pt/xdg-config-path'Junio C Hamano1-5/+3
2015-05-11Merge branch 'nd/multiple-work-trees'Junio C Hamano1-1/+1
2015-05-06git-commit: replace use of home_config_paths()Paul Tan1-5/+3
2015-03-23commit.c: fix a memory leakStefan Beller1-2/+4
2015-03-12status: enable untracked cacheNguyễn Thái Ngọc Duy1-2/+3
2015-03-05Merge branch 'mh/refs-have-new'Junio C Hamano1-2/+2
2015-02-17commit: avoid race when creating orphan commitsMichael Haggerty1-1/+1
2015-02-17ref_transaction_update(): remove "have_old" parameterMichael Haggerty1-1/+1
2015-02-17Merge branch 'mg/commit-author-no-match-malformed-message'Junio C Hamano1-1/+1
2015-02-11Merge branch 'ah/usage-strings'Junio C Hamano1-2/+2
2015-02-11Merge branch 'jk/blame-commit-label'Junio C Hamano1-9/+3
2015-01-26commit: reword --author error messageMichael J Gruber1-1/+1
2015-01-14standardize usage info string formatAlex Henrie1-2/+2
2015-01-13builtin/commit.c: use xstrdup_or_null instead of envdupJeff King1-9/+3
2014-12-22Merge branch 'jk/commit-date-approxidate'Junio C Hamano1-30/+18
2014-12-22Merge branch 'cc/interpret-trailers-more'Junio C Hamano1-26/+2