aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/show-branch.c
AgeCommit message (Expand)AuthorFilesLines
13 dayscocci: apply rules to rewrite callers of "refs" interfacesPatrick Steinhardt1-8/+14
2023-07-27Merge branch 'jc/parse-options-show-branch'Junio C Hamano1-11/+11
2023-07-19show-branch: reject --[no-](topo|date)-orderJunio C Hamano1-7/+7
2023-07-19show-branch: --no-sparse should give dense outputJunio C Hamano1-4/+4
2023-07-06Merge branch 'gc/config-context'Junio C Hamano1-2/+6
2023-06-28config: add ctx arg to config_fn_tGlen Choo1-2/+3
2023-06-28config: inline git_color_default_configGlen Choo1-1/+4
2023-06-21git-compat-util.h: remove unneccessary include of wildmatch.hElijah Newren1-0/+1
2023-06-21cache.h: remove this no-longer-used headerElijah Newren1-2/+1
2023-04-24hash-ll.h: split out of hash.h to remove dependency on repository.hElijah Newren1-0/+2
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-9/+10
2023-03-28cocci: apply the "refs.h" part of "the_repository.pending"Ævar Arnfjörð Bjarmason1-1/+2
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-6/+6
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-23cache.h: remove dependence on hex.h; make other files include it explicitlyElijah Newren1-0/+1
2023-02-06show-branch: free() allocated "head" before returnÆvar Arnfjörð Bjarmason1-0/+1
2022-10-28Merge branch 'ab/doc-synopsis-and-cmd-usage'Junio C Hamano1-1/+2
2022-10-13doc txt & -h consistency: word-wrapÆvar Arnfjörð Bjarmason1-1/+2
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/+3
2022-05-25Merge branch 'jc/show-branch-g-current'Junio C Hamano1-0/+4
2022-04-21show-branch: -g and --current are incompatibleJunio C Hamano1-0/+4
2022-02-16date API: create a date.h, split from cache.hÆvar Arnfjörð Bjarmason1-0/+1
2022-01-05i18n: turn "options are incompatible" into "cannot be used together"Jean-Noël Avila1-2/+2
2021-12-02show-branch: show reflog messageHan-Wen Nienhuys1-5/+7
2021-09-12parse-options API users: align usage output in C-stringsÆvar Arnfjörð Bjarmason1-3/+3
2021-08-27show-branch: simplify rev_is_head()René Scharfe1-10/+5
2021-06-28show-branch: don't <COLOR></RESET> for space charactersÆvar Arnfjörð Bjarmason1-3/+6
2020-09-09Merge branch 'jt/interpret-branch-name-fallback'Junio C Hamano1-1/+1
2020-09-02wt-status: tolerate dangling marksJonathan Tan1-1/+1
2020-07-30strvec: rename struct fieldsJeff King1-4/+4
2020-07-28strvec: convert builtin/ callers away from argv_array nameJeff King1-3/+3
2020-07-28strvec: rename files from argv-array to strvecJeff King1-1/+1
2020-04-28Use OPT_CALLBACK and OPT_CALLBACK_FDenton Liu1-2/+2
2020-02-24use strpbrk(3) to search for characters from a given setRené Scharfe1-1/+1
2019-05-13show-branch: drop unused parameter from show_independent()Jeff King1-2/+1
2019-04-08refs.c: remove the_repo from read_ref_at()Nguyễn Thái Ngọc Duy1-2/+4
2018-11-06assert NOARG/NONEG behavior of parse-options callbacksJeff King1-0/+1
2018-11-06show-branch: mark --reflog option as NONEGJeff King1-1/+1
2018-08-29convert "hashcmp() != 0" to "!hasheq()"Jeff King1-1/+1
2018-08-29convert "oidcmp() != 0" to "!oideq()"Jeff King1-2/+2
2018-08-17Merge branch 'rs/parse-opt-lithelp'Junio C Hamano1-1/+1
2018-08-03parse-options: automatically infer PARSE_OPT_LITERAL_ARGHELPRené Scharfe1-1/+1
2018-06-29commit: add repository argument to lookup_commit_referenceStefan Beller1-1/+1
2018-06-29commit: add repository argument to lookup_commit_reference_gentlyStefan Beller1-1/+2
2018-05-21show-branch: note about its object flags usageNguyễn Thái Ngọc Duy1-0/+5
2018-05-21show-branch: use commit-slab for commit-name instead of commit->utilNguyễn Thái Ngọc Duy1-12/+27
2018-03-14Convert find_unique_abbrev* to struct object_idbrian m. carlson1-1/+1
2017-12-27Merge branch 'ot/pretty'Junio C Hamano1-1/+1
2017-12-12format: create pretty.h fileOlga Telezhnaya1-1/+1
2017-11-06Merge branch 'bc/object-id'Junio C Hamano1-6/+6
2017-10-18Merge branch 'jk/ref-filter-colors-fix'Junio C Hamano1-1/+1
2017-10-17Revert "color: check color.ui in git_default_config()"Jeff King1-1/+1
2017-10-16refs: convert read_ref_at to struct object_idbrian m. carlson1-2/+2
2017-10-16refs: convert dwim_ref and expand_ref to struct object_idbrian m. carlson1-1/+1
2017-10-16refs: convert resolve_refdup and refs_resolve_refdup to struct object_idbrian m. carlson1-3/+3
2017-08-11Merge branch 'jk/ref-filter-colors'Junio C Hamano1-1/+1
2017-07-17sha1_name: convert get_sha1* to get_oid*brian m. carlson1-4/+4
2017-07-13color: check color.ui in git_default_config()Jeff King1-1/+1
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-22Merge branch 'pc/dir-count-slashes'Junio C Hamano1-10/+3
2017-06-15config: don't include config.h by defaultBrandon Williams1-0/+1
2017-06-12dir: create function count_slashes()Prathamesh Chavan1-10/+3
2017-05-29Merge branch 'bc/object-id'Junio C Hamano1-2/+2
2017-05-08Convert lookup_commit* to struct object_idbrian m. carlson1-2/+2
2017-04-27timestamp_t: a new data type for timestampsJohannes Schindelin1-2/+2
2017-02-27Merge branch 'jk/show-branch-lift-name-len-limit'Junio C Hamano1-29/+13
2017-02-15show-branch: use skip_prefix to drop magic numbersJeff King1-11/+8
2017-02-14show-branch: store resolved head in heap bufferJeff King1-14/+5
2017-02-14show-branch: drop head_len variableJeff King1-6/+2
2016-10-03show-branch: use QSORTRené Scharfe1-4/+2
2016-09-15i18n: show-branch: mark plural strings for translationVasco Almeida1-5/+9
2016-09-15i18n: show-branch: mark error messages for translationVasco Almeida1-8/+8
2015-11-20Remove get_object_hash.brian m. carlson1-2/+2
2015-11-20Convert struct object to object_idbrian m. carlson1-2/+2
2015-11-20Add several uses of get_object_hash.brian m. carlson1-2/+2
2015-11-03Merge branch 'rs/show-branch-argv-array'Junio C Hamano1-16/+8
2015-11-01show-branch: use argv_array for default argumentsRené Scharfe1-16/+8
2015-10-30Merge branch 'rs/pop-commit'Junio C Hamano1-14/+3
2015-10-26use pop_commit() for consuming the first entry of a struct commit_listRené Scharfe1-14/+3
2015-09-25show-branch: avoid segfault with --reflog of unborn branchJeff King1-0/+2
2015-09-09Sync with 2.5.2Junio C Hamano1-2/+4
2015-09-04Sync with 2.4.9Junio C Hamano1-2/+4
2015-09-04Sync with 2.3.9Junio C Hamano1-2/+4
2015-09-04Sync with 2.2.3Junio C Hamano1-2/+4
2015-09-04show-branch: use a strbuf for reflog descriptionsJeff King1-2/+4
2015-06-29convert "enum date_mode" into a structJeff King1-1/+2
2015-06-29show-branch: use DATE_RELATIVE instead of magic numberJeff King1-1/+1
2015-05-25cmd_show_branch(): fix error messageMichael Haggerty1-1/+1
2015-05-25builtin/show-branch: rewrite functions to work with object_idMichael Haggerty1-21/+21
2015-05-25append_one_rev(): rewrite to work with object_idMichael Haggerty1-3/+3
2015-05-25builtin/show-branch: rewrite functions to take object_id argumentsMichael Haggerty1-18/+17
2015-05-25append_matching_ref(): rewrite to take an object_id argumentMichael Haggerty1-7/+6
2015-05-25each_ref_fn: change to take an object_id parameterMichael Haggerty1-3/+12
2015-05-05Merge branch 'mh/show-branch-topic'Junio C Hamano1-3/+3
2015-03-31show-branch: show all local heads when only giving one rev along --topicsMike Hommey1-3/+3
2015-02-11Merge branch 'ah/usage-strings'Junio C Hamano1-2/+2
2015-01-20Merge branch 'ak/show-branch-usage-string'Junio C Hamano1-3/+3
2015-01-20show-branch: fix indentation of usage stringRalf Thielow1-3/+3
2015-01-14Merge branch 'ak/show-branch-usage-string'Junio C Hamano1-1/+4
2015-01-14standardize usage info string formatAlex Henrie1-2/+2
2015-01-08show-branch: line-wrap show-branch usageAlexander Kuleshov1-1/+4
2014-10-15refs.c: change resolve_ref_unsafe reading argument to be a flags fieldRonnie Sahlberg1-2/+5
2014-09-29Merge branch 'da/rev-parse-verify-quiet'Junio C Hamano1-2/+3
2014-09-19refs: make rev-parse --quiet actually quietDavid Aguilar1-2/+3
2014-09-18use REALLOC_ARRAY for changing the allocation size of arraysRené Scharfe1-1/+1
2014-07-28Merge branch 'jk/misc-fixes-maint'Junio C Hamano1-0/+1
2014-07-24free ref string returned by dwim_refJeff King1-0/+1
2014-06-19use xstrfmt to replace xmalloc + sprintfJeff King1-6/+4
2014-02-20use wildmatch() directly without fnmatch() wrapperNguyễn Thái Ngọc Duy1-1/+1
2013-12-17Merge branch 'cc/starts-n-ends-with'Junio C Hamano1-10/+10
2013-12-05replace {pre,suf}fixcmp() with {starts,ends}_with()Christian Couder1-10/+10
2013-12-05Merge branch 'jk/robustify-parse-commit'Junio C Hamano1-2/+1
2013-10-24assume parse_commit checks commit->object.parsedJeff King1-2/+1
2013-08-05Replace deprecated OPT_BOOLEAN by OPT_BOOLStefan Beller1-14/+14
2013-07-22Merge branch 'tr/do-not-call-submodules-subprojects'Junio C Hamano1-2/+2
2013-07-18show-branch: fix description of --date-orderThomas Rast1-3/+3
2013-07-01Merge branch 'jc/topo-author-date-sort'Junio C Hamano1-6/+8
2013-06-11toposort: rename "lifo" fieldJunio C Hamano1-6/+8
2013-04-06show-branch: use strbuf instead of static bufferJeff King1-9/+8
2012-08-22i18n: show-branch: mark parseopt strings for translationNguyễn Thái Ngọc Duy1-21/+21
2011-12-13Rename resolve_ref() to resolve_ref_unsafe()Nguyễn Thái Ngọc Duy1-1/+1
2011-12-13Convert resolve_ref+xstrdup to new resolve_refdup functionNguyễn Thái Ngọc Duy1-3/+1
2011-08-19want_color: automatically fallback to color.uiJeff King1-3/+0
2011-08-19color: delay auto-color decision until point of useJeff King1-2/+2
2011-08-18git_config_colorbool: refactor stdout_is_tty handlingJeff King1-1/+1
2011-05-31Merge branch 'jk/format-patch-am'Junio C Hamano1-2/+1
2011-05-26pretty: add pp_commit_easy function for simple callersJeff King1-2/+1
2011-04-04Share color list between graph and show-branchDan McGee1-13/+3
2010-11-29commit: Add commit_list prefix in two function names.Thiago Farina1-3/+3
2010-10-08Use parentheses and `...' where appropriateŠtěpán Němec1-1/+1
2010-05-25show-branch: use DEFAULT_ABBREV instead of 7Tay Ray Chuan1-1/+2
2010-03-10Merge branch 'lt/deepen-builtin-source'Junio C Hamano1-0/+967
2010-02-22Move 'builtin-*' into a 'builtin/' subdirectoryLinus Torvalds1-0/+967