aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/replace.c
AgeCommit message (Expand)AuthorFilesLines
2023-07-13replace: mark unused parameter in each_mergetag_fn callbackJeff King1-1/+1
2023-07-13replace: mark unused parameter in ref callbackJeff King1-1/+1
2023-06-29Merge branch 'en/header-split-cache-h-part-3'Junio C Hamano1-3/+4
2023-06-21object-store-ll.h: split this header out of object-store.hElijah Newren1-1/+1
2023-06-21git-compat-util.h: remove unneccessary include of wildmatch.hElijah Newren1-0/+1
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-12repository: create disable_replace_refs()Derrick Stolee1-1/+1
2023-04-11editor: move editor-related functions and declarations into common fileElijah Newren1-0/+1
2023-04-11object-file.h: move declarations for object-file.c functions from cache.hElijah Newren1-0/+1
2023-04-11object-name.h: move declarations for object-name.c functions from cache.hElijah Newren1-0/+1
2023-04-04Merge branch 'ab/remove-implicit-use-of-the-repository' into en/header-split-...Junio C Hamano1-10/+10
2023-03-28libs: use "struct repository *" argument, not "the_repository"Ævar Arnfjörð Bjarmason1-1/+1
2023-03-28cocci: apply the "commit.h" part of "the_repository.pending"Ævar Arnfjörð Bjarmason1-2/+2
2023-03-28cocci: apply the "cache.h" part of "the_repository.pending"Ævar Arnfjörð Bjarmason1-8/+8
2023-03-21environment.h: move declarations for environment.c functions from cache.hElijah Newren1-0/+1
2023-03-21treewide: be explicit about dependence on gettext.hElijah Newren1-0/+1
2023-02-23replace-object.h: move read_replace_refs declaration from cache.h to hereElijah Newren1-0/+1
2023-02-23cache.h: remove dependence on hex.h; make other files include it explicitlyElijah Newren1-0/+1
2022-08-05refs: use ref_namespaces for replace refs baseDerrick Stolee1-0/+3
2022-05-20Merge branch 'ep/maint-equals-null-cocci'Junio C Hamano1-1/+1
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-03-16Merge branch 'ab/object-file-api-updates'Junio C Hamano1-2/+2
2022-02-25object-file API: have hash_object_file() take "enum object_type"Ævar Arnfjörð Bjarmason1-1/+1
2022-02-25object-file API: have write_object_file() take "enum object_type"Ævar Arnfjörð Bjarmason1-1/+1
2022-02-04i18n: remove from i18n strings that do not hold translatable partsJean-Noël Avila1-1/+1
2021-11-25run-command API users: use strvec_pushl(), not argv constructionÆvar Arnfjörð Bjarmason1-2/+1
2021-08-25advice: move advice.graftFileDeprecated squashing to commit.[ch]Ævar Arnfjörð Bjarmason1-1/+1
2020-07-30strvec: rename struct fieldsJeff King1-1/+1
2020-07-28strvec: convert builtin/ callers away from argv_array nameJeff King1-8/+8
2020-01-31sha1-file: pass git_hash_algo to hash_object_file()Matheus Tavares1-1/+2
2019-10-11Merge branch 'bc/object-id-part17'Junio C Hamano1-3/+4
2019-09-05use get_tagged_oid()René Scharfe1-1/+1
2019-08-19builtin/replace: make hash size independentbrian m. carlson1-3/+4
2019-05-09Merge branch 'cc/replace-graft-peel-tags'Junio C Hamano1-7/+13
2019-04-15replace: peel tag when passing a tag first to --graftChristian Couder1-4/+7
2019-04-15replace: peel tag when passing a tag as parent to --graftChristian Couder1-3/+6
2019-02-20completion: add more parameter value completionNguyễn Thái Ngọc Duy1-0/+4
2019-01-24cache.h: flip NO_THE_INDEX_COMPATIBILITY_MACROS switchNguyễn Thái Ngọc Duy1-1/+1
2018-12-01Merge branch 'ab/replace-graft-with-replace-advice'Junio C Hamano1-0/+1
2018-11-29advice: don't pointlessly suggest --convert-graft-fileÆvar Arnfjörð Bjarmason1-0/+1
2018-11-21Merge branch 'ds/commit-graph-with-grafts' into maintJunio C Hamano1-4/+4
2018-10-19Merge branch 'nd/the-index'Junio C Hamano1-1/+1
2018-10-16Merge branch 'ds/commit-graph-with-grafts'Junio C Hamano1-4/+4
2018-09-21sha1-file.c: remove implicit dependency on the_indexNguyễn Thái Ngọc Duy1-1/+1
2018-08-29convert "oidcmp() == 0" to oideq()Jeff King1-3/+3
2018-08-21refs.c: upgrade for_each_replace_ref to be a each_repo_ref_fn callbackStefan Beller1-4/+4
2018-08-15Merge branch 'jk/core-use-replace-refs'Junio C Hamano1-1/+1
2018-08-15Merge branch 'nd/i18n'Junio C Hamano1-42/+42
2018-07-23builtin/replace.c: mark more strings for translationNguyễn Thái Ngọc Duy1-37/+37
2018-07-23Update messages in preparation for i18nNguyễn Thái Ngọc Duy1-13/+13
2018-07-18check_replace_refs: rename to read_replace_refsJeff King1-1/+1
2018-07-18Merge branch 'sb/object-store-grafts'Junio C Hamano1-1/+1
2018-06-29tag: add repository argument to parse_tag_bufferStefan Beller1-1/+1
2018-06-29tag: add repository argument to lookup_tagStefan Beller1-1/+1
2018-06-29commit: add repository argument to lookup_commit_referenceStefan Beller1-2/+2
2018-06-29Merge branch 'sb/object-store-grafts' into sb/object-store-lookupJunio C Hamano1-1/+1
2018-05-23Merge branch 'js/deprecate-grafts'Junio C Hamano1-66/+168
2018-04-30replace: introduce --convert-graft-fileJohannes Schindelin1-1/+43
2018-04-30replace: prepare create_graft() for converting graft files wholesaleJohannes Schindelin1-3/+8
2018-04-30replace: "libify" create_graft() and calleesJohannes Schindelin1-57/+112
2018-04-26replace: avoid using die() to indicate a bugJohannes Schindelin1-1/+1
2018-04-26commit: Let the callback of for_each_mergetag return on errorJohannes Schindelin1-4/+4
2018-04-26cache.h: add repository argument to oid_object_infoStefan Beller1-5/+6
2018-04-12refs: add repository argument to for_each_replace_refStefan Beller1-1/+3
2018-04-10Merge branch 'bc/object-id'Junio C Hamano1-5/+5
2018-03-14Merge branch 'nd/parseopt-completion'Junio C Hamano1-1/+2
2018-03-14sha1_file: convert sha1_object_info* to object_idbrian m. carlson1-5/+5
2018-03-06Merge branch 'bw/c-plus-plus'Junio C Hamano1-23/+23
2018-02-22replace: rename 'new' variablesBrandon Williams1-17/+17
2018-02-14object: rename function 'typename' to 'type_name'Brandon Williams1-6/+6
2018-02-09completion: use __gitcomp_builtin in _git_replaceNguyễn Thái Ngọc Duy1-1/+2
2018-01-30sha1_file: convert write_sha1_file to object_idPatryk Obara1-1/+1
2018-01-30sha1_file: convert hash_sha1_file to object_idPatryk Obara1-1/+1
2017-10-16refs: convert read_ref and read_ref_full to object_idbrian m. carlson1-2/+2
2017-10-16refs: update ref transactions to use struct object_idbrian m. carlson1-1/+1
2017-10-16refs: convert delete_ref and refs_delete_ref to struct object_idbrian m. carlson1-1/+1
2017-08-20sha1_file: convert index_fd to struct object_idPatryk Obara1-1/+1
2017-07-17sha1_name: convert get_sha1* to get_oid*brian m. carlson1-2/+2
2017-07-10Merge branch 'ab/wildmatch'Junio C Hamano1-1/+1
2017-06-24Merge branch 'bw/config-h'Junio C Hamano1-0/+1
2017-06-23wildmatch: remove unused wildopts parameterÆvar Arnfjörð Bjarmason1-1/+1
2017-06-15config: don't include config.h by defaultBrandon Williams1-0/+1
2017-05-08Convert lookup_tag to struct object_idbrian m. carlson1-1/+1
2017-05-08Convert lookup_commit* to struct object_idbrian m. carlson1-2/+2
2017-04-17replace: plug a memory leakJunio C Hamano1-0/+1
2017-03-30avoid using fixed PATH_MAX buffers for refsJeff King1-23/+27
2017-03-17Merge branch 'bc/object-id'Junio C Hamano1-56/+56
2017-02-22builtin/replace: convert to struct object_idbrian m. carlson1-56/+56
2017-02-20delete_ref: accept a reflog message argumentKyle Meyer1-1/+1
2016-04-29Merge branch 'js/replace-edit-use-editor-configuration'Junio C Hamano1-0/+1
2016-04-20replace --edit: respect core.editorJohannes Schindelin1-0/+1
2015-11-20Convert struct object to object_idbrian m. carlson1-3/+3
2015-08-03Merge branch 'mh/replace-refs'Junio C Hamano1-3/+3
2015-06-12Allow to control where the replace refs are looked forMike Hommey1-3/+3
2015-05-25show_reference(): rewrite to take an object_id argumentMichael Haggerty1-10/+8
2015-05-25each_ref_fn: change to take an object_id parameterMichael Haggerty1-1/+3
2015-02-17ref_transaction_update(): remove "have_old" parameterMichael Haggerty1-1/+1
2014-10-15refs.c: pass the ref log message to _create/delete/update instead of _commitRonnie Sahlberg1-2/+3
2014-09-11Merge branch 'rs/ref-transaction-1'Junio C Hamano1-6/+8
2014-09-03replace.c: use the ref transaction functions for updatesRonnie Sahlberg1-6/+8
2014-08-20run-command: introduce CHILD_PROCESS_INITRené Scharfe1-2/+2
2014-07-27Merge branch 'cc/replace-graft'Junio C Hamano1-1/+125
2014-07-21replace: check mergetags when using --graftChristian Couder1-0/+47
2014-07-21replace: remove signature when using --graftChristian Couder1-0/+5
2014-07-21replace: add --graft optionChristian Couder1-1/+73
2014-06-25replace: add a --raw mode for --editJeff King1-10/+21
2014-06-25replace: use argv_array in export_objectJeff King1-3/+5
2014-06-25avoid double close of descriptors handed to run_commandJeff King1-2/+0
2014-06-25replace: replace spaces with tabs in indentationJeff King1-3/+3
2014-05-19replace: add --edit to usage stringChristian Couder1-0/+1
2014-05-19replace: die early if replace ref already existsChristian Couder1-1/+4
2014-05-19replace: refactor checking ref validityChristian Couder1-11/+20
2014-05-19replace: make sure --edit results in a different objectChristian Couder1-0/+3
2014-04-29replace: add --edit optionJeff King1-1/+111
2014-04-29replace: factor object resolution out of replace_objectJeff King1-8/+18
2014-04-29replace: use OPT_CMDMODE to handle modesJeff King1-24/+25
2014-04-29replace: refactor command-mode determinationJeff King1-8/+6
2014-03-14Merge branch 'mh/replace-refs-variable-rename'Junio C Hamano1-1/+1
2014-02-20rename read_replace_refs to check_replace_refsMichael Haggerty1-1/+1
2014-02-20use wildmatch() directly without fnmatch() wrapperNguyễn Thái Ngọc Duy1-1/+1
2013-12-30replace info: rename 'full' to 'long' and clarify in-code symbolsChristian Couder1-10/+14
2013-12-12builtin/replace: unset read_replace_refsChristian Couder1-0/+2
2013-12-12builtin/replace: teach listing using short, medium or full formatsChristian Couder1-7/+54
2013-09-24Merge branch 'cc/replace-with-the-same-type'Jonathan Nieder1-3/+13
2013-09-20Merge branch 'bk/refs-multi-update'Junio C Hamano1-1/+1
2013-09-06replace: allow long option namesChristian Couder1-3/+3
2013-09-06replace: forbid replacing an object with one of a different typeChristian Couder1-0/+10
2013-08-30refs: report ref type from lock_any_ref_for_updateBrad King1-1/+1
2013-08-05Replace deprecated OPT_BOOLEAN by OPT_BOOLStefan Beller1-3/+3
2013-06-18fix "builtin-*" references to be "builtin/*"Phil Hord1-1/+1
2012-11-13replace: parse revision argument for -dMichael J Gruber1-6/+9
2012-08-20i18n: replace: mark parseopt strings for translationNguyễn Thái Ngọc Duy1-6/+6
2011-11-13Convert many resolve_ref() calls to read_ref*() and ref_exists()Nguyễn Thái Ngọc Duy1-2/+2
2011-10-05Change check_ref_format() to take a flags argumentMichael Haggerty1-1/+1
2010-02-22Move 'builtin-*' into a 'builtin/' subdirectoryLinus Torvalds1-0/+159