summaryrefslogtreecommitdiffstats
path: root/builtin/rev-parse.c (follow)
Commit message (Expand)AuthorAgeFilesLines
* global: mark code units that generate warnings with `-Wsign-compare`Patrick Steinhardt2024-12-061-0/+3
* Merge branch 'jc/pass-repo-to-builtins'Junio C Hamano2024-09-231-2/+6
|\
| * builtin: remove USE_THE_REPOSITORY_VARIABLE from builtin.hJohn Cai2024-09-131-1/+2
| * builtin: add a repository parameter for builtin functionsJohn Cai2024-09-131-1/+4
* | environment: stop storing "core.warnAmbiguousRefs" globallyPatrick Steinhardt2024-09-121-1/+3
* | environment: make `get_git_work_tree()` accept a repositoryPatrick Steinhardt2024-09-121-2/+2
* | environment: make `get_git_common_dir()` accept a repositoryPatrick Steinhardt2024-09-121-1/+2
|/
* Merge branch 'jc/refs-symref-referent'Junio C Hamano2024-08-151-2/+2
|\
| * refs: add referent to each_ref_fnJohn Cai2024-08-091-2/+2
* | builtin/rev-parse: fix memory leak with `--parseopt`Patrick Steinhardt2024-08-011-1/+4
|/
* object-name: free leaking object contextsPatrick Steinhardt2024-06-111-0/+2
* biultin/rev-parse: fix memory leaks in `--parseopt` modePatrick Steinhardt2024-06-111-23/+30
* Merge branch 'ps/undecided-is-not-necessarily-sha1'Junio C Hamano2024-05-301-3/+2
|\
| * builtin/rev-parse: allow shortening to more than 40 hex charactersPatrick Steinhardt2024-05-071-3/+2
* | Merge branch 'ps/refs-without-the-repository'Junio C Hamano2024-05-161-7/+18
|\ \ | |/ |/|
| * cocci: apply rules to rewrite callers of "refs" interfacesPatrick Steinhardt2024-05-071-7/+18
| * refs: add `exclude_patterns` parameter to `for_each_fullref_in()`Patrick Steinhardt2024-05-071-2/+2
* | builtin: stop using `the_index`Patrick Steinhardt2024-04-181-3/+3
|/
* Merge branch 'eb/hash-transition'Junio C Hamano2024-03-281-1/+24
|\
| * rev-parse: add an --output-object-format parameterEric W. Biederman2023-10-021-0/+23
| * object-names: support input of oids in any supported hashEric W. Biederman2023-10-021-1/+1
* | commit-reach(repo_get_merge_bases): pass on "missing commits" errorsJohannes Schindelin2024-02-291-2/+3
* | builtin/rev-parse: introduce `--show-ref-format` flagPatrick Steinhardt2024-01-021-0/+4
* | revision, rev-parse: factorize incompatibility messages about - -exclude-hiddenRené Scharfe2023-12-081-3/+6
|/
* Merge branch 'jk/unused-parameter'Junio C Hamano2023-07-251-1/+1
|\
| * rev-parse: mark unused parameter in for_each_abbrev callbackJeff King2023-07-141-1/+1
* | git-compat-util: move alloc macros to git-compat-util.hCalvin Wan2023-07-051-1/+0
|/
* Merge branch 'en/header-split-cache-h-part-3'Junio C Hamano2023-06-301-2/+4
|\
| * diff.h: remove unnecessary include of oidset.hElijah Newren2023-06-211-0/+1
| * repository: remove unnecessary include of path.hElijah Newren2023-06-211-0/+1
| * cache.h: remove this no-longer-used headerElijah Newren2023-06-211-2/+1
| * read-cache*.h: move declarations for read-cache.c functions from cache.hElijah Newren2023-06-211-0/+1
* | rev-parse: fix a leak with --abbrev-refRubén Justo2023-06-171-1/+4
|/
* object-name.h: move declarations for object-name.c functions from cache.hElijah Newren2023-04-111-0/+1
* Merge branch 'ab/remove-implicit-use-of-the-repository' into en/header-split-...Junio C Hamano2023-04-041-7/+11
|\
| * cocci: apply the "refs.h" part of "the_repository.pending"Ævar Arnfjörð Bjarmason2023-03-281-1/+3
| * cocci: apply the "commit-reach.h" part of "the_repository.pending"Ævar Arnfjörð Bjarmason2023-03-281-1/+1
| * cocci: apply the "cache.h" part of "the_repository.pending"Ævar Arnfjörð Bjarmason2023-03-281-5/+7
* | setup.h: move declarations for setup.c functions from cache.hElijah Newren2023-03-211-0/+1
* | environment.h: move declarations for environment.c functions from cache.hElijah Newren2023-03-211-0/+1
* | abspath.h: move absolute path functions from cache.hElijah Newren2023-03-211-0/+1
* | treewide: be explicit about dependence on gettext.hElijah Newren2023-03-211-0/+1
* | cache.h: remove dependence on hex.h; make other files include it explicitlyElijah Newren2023-02-241-0/+1
* | alloc.h: move ALLOC_GROW() functions from cache.hElijah Newren2023-02-241-0/+1
|/
* Merge branch 'ab/various-leak-fixes'Junio C Hamano2022-12-141-0/+1
|\
| * built-ins & libs & helpers: add/move destructors, fix leaksÆvar Arnfjörð Bjarmason2022-11-211-0/+1
* | Merge branch 'ab/fewer-the-index-macros'Junio C Hamano2022-11-281-2/+2
|\ \
| * | cocci: apply "pending" index-compatibility to some "builtin/*.c"Ævar Arnfjörð Bjarmason2022-11-211-2/+2
| |/
* | rev-parse: add `--exclude-hidden=` optionPatrick Steinhardt2022-11-171-0/+10
* | revision: introduce struct to handle exclusionsPatrick Steinhardt2022-11-171-4/+4
|/