summaryrefslogtreecommitdiff
path: root/sha1_name.c
AgeCommit message (Expand)AuthorFilesLines
2017-05-24get_sha1_with_context: dynamically allocate oc->pathLibravatar Jeff King1-2/+4
2017-05-24get_sha1_with_context: always initialize oc->symlink_pathLibravatar Jeff King1-0/+1
2017-05-24sha1_name: consistently refer to object_context as "oc"Libravatar Jeff King1-2/+2
2017-04-19Merge branch 'bc/object-id'Libravatar Junio C Hamano1-46/+48
2017-03-31Rename sha1_array to oid_arrayLibravatar brian m. carlson1-4/+4
2017-03-31Convert sha1_array_for_each_unique and for_each_abbrev to object_idLibravatar brian m. carlson1-8/+6
2017-03-31Make sha1_array_append take a struct object_id *Libravatar brian m. carlson1-1/+1
2017-03-28sha1_name: convert disambiguate_hint_fn to take object_idLibravatar brian m. carlson1-30/+34
2017-03-28sha1_name: convert struct disambiguate_state to object_idLibravatar brian m. carlson1-11/+11
2017-03-27rev-parse: match @{upstream}, @{u} and @{push} case-insensitivelyLibravatar Ævar Arnfjörð Bjarmason1-1/+1
2017-03-26Convert GIT_SHA1_RAWSZ used for allocation to GIT_MAX_RAWSZLibravatar brian m. carlson1-2/+2
2017-03-26Convert GIT_SHA1_HEXSZ used for allocation to GIT_MAX_HEXSZLibravatar brian m. carlson1-3/+3
2017-03-17Merge branch 'bc/object-id'Libravatar Junio C Hamano1-1/+1
2017-03-02strbuf_check_ref_format(): expand only local branchesLibravatar Jeff King1-1/+1
2017-03-02interpret_branch_name: allow callers to restrict expansionsLibravatar Jeff King1-20/+48
2017-03-02strbuf_branchname: drop return valueLibravatar Jeff King1-4/+1
2017-03-02interpret_branch_name: move docstring to header fileLibravatar Jeff King1-21/+0
2017-03-02interpret_branch_name(): handle auto-namelen for @{-1}Libravatar Jeff King1-1/+2
2017-02-22refs: convert each_reflog_ent_fn to struct object_idLibravatar brian m. carlson1-1/+1
2016-11-01Merge branch 'jk/no-looking-at-dotgit-outside-repo'Libravatar Junio C Hamano1-1/+2
2016-11-01sha1_name: make wraparound of the index into ring-buffer explicitLibravatar René Scharfe1-1/+2
2016-10-27Merge branch 'jk/no-looking-at-dotgit-outside-repo'Libravatar Junio C Hamano1-1/+3
2016-10-27Merge branch 'jk/abbrev-auto'Libravatar Junio C Hamano1-25/+35
2016-10-27Merge branch 'lt/abbrev-auto'Libravatar Junio C Hamano1-1/+27
2016-10-26find_unique_abbrev: use 4-buffer ringLibravatar Jeff King1-1/+3
2016-10-17Merge branch 'jk/alt-odb-cleanup'Libravatar Junio C Hamano1-12/+5
2016-10-10alternates: store scratch buffer as strbufLibravatar Jeff King1-6/+3
2016-10-10alternates: use a separate scratch spaceLibravatar Jeff King1-1/+2
2016-10-10alternates: provide helper for allocating alternateLibravatar Jeff King1-6/+1
2016-10-03find_unique_abbrev: move logic out of get_short_sha1()Libravatar Jeff King1-25/+35
2016-10-03abbrev: auto size the default abbreviationLibravatar Linus Torvalds1-1/+27
2016-09-27get_short_sha1: make default disambiguation configurableLibravatar Jeff King1-0/+32
2016-09-26get_short_sha1: list ambiguous objects on errorLibravatar Jeff King1-2/+48
2016-09-26for_each_abbrev: drop duplicate objectsLibravatar Jeff King1-4/+15
2016-09-26get_short_sha1: mark ambiguity error for translationLibravatar Jeff King1-1/+1
2016-09-26get_short_sha1: NUL-terminate hex prefixLibravatar Jeff King1-3/+3
2016-09-26get_short_sha1: refactor init of disambiguation codeLibravatar Jeff King1-44/+35
2016-09-26get_short_sha1: parse tags when looking for treeishLibravatar Jeff King1-1/+1
2016-09-26get_sha1: propagate flags to child functionsLibravatar Jeff King1-6/+12
2016-09-26get_sha1: avoid repeating ourselves via ONLY_TO_DIELibravatar Jeff King1-0/+3
2016-09-26get_sha1: detect buggy calls with multiple disambiguatorsLibravatar Jeff King1-0/+4
2016-09-07sha1_name: convert get_sha1_mb to struct object_idLibravatar brian m. carlson1-9/+9
2016-09-07cache: convert struct cache_entry to use struct object_idLibravatar brian m. carlson1-1/+1
2016-05-06Merge branch 'bc/object-id'Libravatar Junio C Hamano1-0/+9
2016-04-19sha1-name: introduce a get_oid() functionLibravatar brian m. carlson1-0/+9
2016-03-06setup: make startup_info available everywhereLibravatar Jeff King1-3/+0
2016-02-26Merge branch 'jk/tighten-alloc'Libravatar Junio C Hamano1-3/+2
2016-02-24Merge branch 'nd/dwim-wildcards-as-pathspecs'Libravatar Junio C Hamano1-2/+2
2016-02-22use st_add and st_mult for allocation size computationLibravatar Jeff King1-3/+2
2016-02-10Merge branch 'wp/sha1-name-negative-match'Libravatar Junio C Hamano1-5/+15