aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/rev-parse.c (follow)
AgeCommit message (Expand)AuthorFilesLines
2024-12-06global: mark code units that generate warnings with `-Wsign-compare`Patrick Steinhardt1-0/+3
2024-09-23Merge branch 'jc/pass-repo-to-builtins'Junio C Hamano1-2/+6
2024-09-13builtin: remove USE_THE_REPOSITORY_VARIABLE from builtin.hJohn Cai1-1/+2
2024-09-13builtin: add a repository parameter for builtin functionsJohn Cai1-1/+4
2024-09-12environment: stop storing "core.warnAmbiguousRefs" globallyPatrick Steinhardt1-1/+3
2024-09-12environment: make `get_git_work_tree()` accept a repositoryPatrick Steinhardt1-2/+2
2024-09-12environment: make `get_git_common_dir()` accept a repositoryPatrick Steinhardt1-1/+2
2024-08-15Merge branch 'jc/refs-symref-referent'Junio C Hamano1-2/+2
2024-08-09refs: add referent to each_ref_fnJohn Cai1-2/+2
2024-08-01builtin/rev-parse: fix memory leak with `--parseopt`Patrick Steinhardt1-1/+4
2024-06-11object-name: free leaking object contextsPatrick Steinhardt1-0/+2
2024-06-11biultin/rev-parse: fix memory leaks in `--parseopt` modePatrick Steinhardt1-23/+30
2024-05-30Merge branch 'ps/undecided-is-not-necessarily-sha1'Junio C Hamano1-3/+2
2024-05-16Merge branch 'ps/refs-without-the-repository'Junio C Hamano1-7/+18
2024-05-07cocci: apply rules to rewrite callers of "refs" interfacesPatrick Steinhardt1-7/+18
2024-05-07refs: add `exclude_patterns` parameter to `for_each_fullref_in()`Patrick Steinhardt1-2/+2
2024-05-06builtin/rev-parse: allow shortening to more than 40 hex charactersPatrick Steinhardt1-3/+2
2024-04-18builtin: stop using `the_index`Patrick Steinhardt1-3/+3
2024-03-28Merge branch 'eb/hash-transition'Junio C Hamano1-1/+24
2024-02-29commit-reach(repo_get_merge_bases): pass on "missing commits" errorsJohannes Schindelin1-2/+3
2024-01-02builtin/rev-parse: introduce `--show-ref-format` flagPatrick Steinhardt1-0/+4
2023-12-09revision, rev-parse: factorize incompatibility messages about - -exclude-hiddenRené Scharfe1-3/+6
2023-10-02rev-parse: add an --output-object-format parameterEric W. Biederman1-0/+23
2023-10-02object-names: support input of oids in any supported hashEric W. Biederman1-1/+1
2023-07-25Merge branch 'jk/unused-parameter'Junio C Hamano1-1/+1
2023-07-13rev-parse: mark unused parameter in for_each_abbrev callbackJeff King1-1/+1
2023-07-05git-compat-util: move alloc macros to git-compat-util.hCalvin Wan1-1/+0
2023-06-29Merge branch 'en/header-split-cache-h-part-3'Junio C Hamano1-2/+4
2023-06-21diff.h: remove unnecessary include of oidset.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-21read-cache*.h: move declarations for read-cache.c functions from cache.hElijah Newren1-0/+1
2023-06-17rev-parse: fix a leak with --abbrev-refRubén Justo1-1/+4
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-7/+11
2023-03-28cocci: apply the "refs.h" part of "the_repository.pending"Ævar Arnfjörð Bjarmason1-1/+3
2023-03-28cocci: apply the "commit-reach.h" part of "the_repository.pending"Ævar Arnfjörð Bjarmason1-1/+1
2023-03-28cocci: apply the "cache.h" part of "the_repository.pending"Ævar Arnfjörð Bjarmason1-5/+7
2023-03-21setup.h: move declarations for setup.c functions from cache.hElijah Newren1-0/+1
2023-03-21environment.h: move declarations for environment.c functions from cache.hElijah Newren1-0/+1
2023-03-21abspath.h: move absolute path functions from cache.hElijah Newren1-0/+1
2023-03-21treewide: be explicit about dependence on gettext.hElijah Newren1-0/+1
2023-02-23cache.h: remove dependence on hex.h; make other files include it explicitlyElijah Newren1-0/+1
2023-02-23alloc.h: move ALLOC_GROW() functions from cache.hElijah Newren1-0/+1
2022-12-14Merge branch 'ab/various-leak-fixes'Junio C Hamano1-0/+1
2022-11-28Merge branch 'ab/fewer-the-index-macros'Junio C Hamano1-2/+2
2022-11-21built-ins & libs & helpers: add/move destructors, fix leaksÆvar Arnfjörð Bjarmason1-0/+1
2022-11-21cocci: apply "pending" index-compatibility to some "builtin/*.c"Ævar Arnfjörð Bjarmason1-2/+2
2022-11-17rev-parse: add `--exclude-hidden=` optionPatrick Steinhardt1-0/+10
2022-11-17revision: introduce struct to handle exclusionsPatrick Steinhardt1-4/+4