aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/show-ref.c
AgeCommit message (Expand)AuthorFilesLines
13 dayscocci: apply rules to rewrite callers of "refs" interfacesPatrick Steinhardt1-6/+13
13 daysrefs: add `exclude_patterns` parameter to `for_each_fullref_in()`Patrick Steinhardt1-2/+2
2024-02-07show-ref --verify: accept pseudorefsPhillip Wood1-1/+1
2024-01-29Merge branch 'tc/show-ref-exists-fix'Junio C Hamano1-1/+1
2024-01-18builtin/show-ref: treat directory as non-existing in --existsToon Claes1-1/+1
2024-01-08Merge branch 'en/header-cleanup'Junio C Hamano1-1/+0
2023-12-26treewide: remove unnecessary includes in source filesElijah Newren1-1/+0
2023-12-11show-ref: use die_for_incompatible_opt3()René Scharfe1-3/+3
2023-11-01builtin/show-ref: add new mode to check for reference existencePatrick Steinhardt1-5/+44
2023-11-01builtin/show-ref: explicitly spell out different modes in synopsisPatrick Steinhardt1-1/+4
2023-11-01builtin/show-ref: ensure mutual exclusiveness of subcommandsPatrick Steinhardt1-0/+4
2023-11-01builtin/show-ref: refactor options for patterns subcommandPatrick Steinhardt1-13/+22
2023-11-01builtin/show-ref: stop using global vars for `show_one()`Patrick Steinhardt1-22/+40
2023-11-01builtin/show-ref: stop using global variable to count matchesPatrick Steinhardt1-3/+4
2023-11-01builtin/show-ref: refactor `--exclude-existing` optionsPatrick Steinhardt1-34/+44
2023-11-01builtin/show-ref: fix dead code when passing patternsPatrick Steinhardt1-4/+1
2023-11-01builtin/show-ref: fix leaking string bufferPatrick Steinhardt1-1/+3
2023-11-01builtin/show-ref: split up different subcommandsPatrick Steinhardt1-47/+54
2023-11-01builtin/show-ref: convert pattern to a local variablePatrick Steinhardt1-18/+28
2023-06-21object-store-ll.h: split this header out of object-store.hElijah Newren1-1/+1
2023-06-21cache.h: remove this no-longer-used headerElijah Newren1-1/+0
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-3/+3
2023-03-28cocci: apply the "object-store.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-2/+2
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
2022-10-28Merge branch 'ab/doc-synopsis-and-cmd-usage'Junio C Hamano1-1/+3
2022-10-13doc txt & -h consistency: word-wrapÆvar Arnfjörð Bjarmason1-1/+3
2022-09-01git-compat-util.h: use "UNUSED", not "UNUSED(var)"Ævar Arnfjörð Bjarmason1-3/+3
2022-08-19refs: mark unused each_ref_fn parametersJeff King1-3/+4
2022-06-06builtin/show-ref.c: avoid over-iterating with --heads, --tagsTaylor Blau1-9/+8
2021-01-21refs: switch peel_ref() to peel_iterated_oid()Jeff King1-1/+1
2020-04-28Use OPT_CALLBACK and OPT_CALLBACK_FDenton Liu1-6/+6
2019-05-19Merge branch 'en/unicode-in-refnames'Junio C Hamano1-0/+3
2019-04-26Honor core.precomposeUnicode in more placesElijah Newren1-0/+3
2019-01-08convert has_sha1_file() callers to has_object_file()Jeff King1-1/+1
2018-11-06assert NOARG/NONEG behavior of parse-options callbacksJeff King1-0/+1
2018-05-16object-store: move object access functions to object-store.hStefan Beller1-0/+1
2018-03-14Convert find_unique_abbrev* to struct object_idbrian m. carlson1-2/+2
2017-10-16refs: convert peel_ref to struct object_idbrian m. carlson1-1/+1
2017-10-16refs: convert read_ref and read_ref_full to object_idbrian m. carlson1-1/+1
2017-01-23show-ref: remove a stale commentJunio C Hamano1-4/+0
2017-01-23show-ref: remove dead `if (verify)' checkVladimir Panteleev1-3/+0
2017-01-23show-ref: detect dangling refs under --verify as wellVladimir Panteleev1-8/+8
2017-01-23show-ref: move --quiet handling into show_one()Vladimir Panteleev1-5/+4
2017-01-23show-ref: allow -d to work with --verifyVladimir Panteleev1-11/+12
2017-01-23show-ref: accept HEAD with --verifyVladimir Panteleev1-1/+1
2015-11-20show-ref: stop using PARSE_OPT_NO_INTERNAL_HELPRené Scharfe1-11/+1
2015-10-16usage: do not insist that standard input must come from a fileJunio C Hamano1-1/+1
2015-08-31show-ref: place angle brackets around variables in usage stringAlex Henrie1-1/+1
2015-05-25show_ref(): convert local variable peeled to object_idMichael Haggerty1-3/+3
2015-05-25builtin/show-ref: rewrite to use object_idMichael Haggerty1-18/+15
2015-05-25each_ref_fn: change to take an object_id parameterMichael Haggerty1-3/+8
2015-01-14standardize usage info string formatAlex Henrie1-1/+1
2013-12-05replace {pre,suf}fixcmp() with {starts,ends}_with()Christian Couder1-3/+3
2013-08-05Replace deprecated OPT_BOOLEAN by OPT_BOOLStefan Beller1-5/+5
2013-08-05Remove deprecated OPTION_BOOLEAN for parsing argumentsStefan Beller1-3/+2
2013-07-22Merge branch 'db/show-ref-head'Junio C Hamano1-2/+6
2013-07-17show-ref: make --head always show the HEAD refDoug Bell1-2/+6
2013-06-02exclude_existing(): set existing_refs.strdup_stringsMichael Haggerty1-1/+1
2012-10-25Merge branch 'jk/peel-ref'Jeff King1-20/+3
2012-10-04peel_ref: do not return a null sha1Jeff King1-20/+3
2012-08-22i18n: show-ref: mark parseopt strings for translationNguyễn Thái Ngọc Duy1-14/+14
2011-11-13Convert many resolve_ref() calls to read_ref*() and ref_exists()Nguyễn Thái Ngọc Duy1-1/+1
2011-10-05Change check_ref_format() to take a flags argumentMichael Haggerty1-1/+1
2010-11-15Describe various forms of "be quiet" using OPT__QUIETJonathan Nieder1-1/+2
2010-11-15add description parameter to OPT__QUIETRené Scharfe1-1/+1
2010-07-05string_list: Add STRING_LIST_INIT macro and make use of it.Thiago Farina1-1/+1
2010-06-27string_list: Fix argument order for string_list_insertJulian Phillips1-1/+1
2010-02-22Move 'builtin-*' into a 'builtin/' subdirectoryLinus Torvalds1-0/+249