260 Commits (3d4a3ffe64162b45ae7c991fc60623ecb4678cfd)

Author SHA1 Message Date
René Scharfe 6f75d45b24 use isxdigit() for checking if a character is a hexadecimal digit 10 years ago
René Scharfe 2ce63e9fac sha1_name: use strlcpy() to copy strings 10 years ago
Mike Hommey 61e704e38a sha1_name: avoid unnecessary sha1 lookup in find_unique_abbrev 10 years ago
Junio C Hamano 2ce406ccb8 get_merge_bases(): always clean-up object flags 10 years ago
David Aguilar c41a87dd80 refs: make rev-parse --quiet actually quiet 11 years ago
René Scharfe e8d1dfe639 sha1_name: avoid quadratic list insertion in handle_one_ref 11 years ago
Jeff King 28b3563241 free ref string returned by dwim_ref 11 years ago
René Scharfe e992d1eb39 use strbuf_addbuf for adding strbufs 11 years ago
Jeff King 95b567c7c3 use skip_prefix to avoid repeating strings 11 years ago
Jeff King b2724c8787 use xstrfmt to replace xmalloc + strcpy/strcat 11 years ago
Jeff King 8597ea3afe commit: record buffer length in cache 11 years ago
Jeff King ba41c1c93f use get_commit_buffer to avoid duplicate code 11 years ago
Nguyễn Thái Ngọc Duy 208acbfb82 object.h: centralize object flag allocation 11 years ago
Jeff King 9892d5d454 interpret_branch_name: find all possible @-marks 11 years ago
Jeff King 3f6eb30f1d interpret_branch_name: avoid @{upstream} past colon 11 years ago
Jeff King 8cd4249c4c interpret_branch_name: always respect "namelen" parameter 11 years ago
Jeff King f278f40f09 interpret_branch_name: rename "cp" variable to "at" 11 years ago
Jeff King a39c14af82 interpret_branch_name: factor out upstream handling 11 years ago
Brodie Rao 832cf74c07 sha1_name: don't resolve refs when core.warnambiguousrefs is false 11 years ago
Christian Couder 5955654823 replace {pre,suf}fixcmp() with {starts,ends}_with() 11 years ago
Felipe Contreras 57b15ead77 sha1-name: trivial style cleanup 11 years ago
Jeff King 5e7d4d3e93 assume parse_commit checks for NULL commit 11 years ago
Felipe Contreras 9ba89f484e Add new @ shortcut for HEAD 12 years ago
Richard Hansen a8a5406ab3 use 'commit-ish' instead of 'committish' 12 years ago
Jeff King c969b6a18d peel_onion: do not assume length of x_type globals 12 years ago
Richard Hansen 75aa26d34c peel_onion(): add support for <rev>^{tag} 12 years ago
Felipe Contreras cf99a761d3 sha1-name: pass len argument to interpret_branch_name() 12 years ago
Junio C Hamano 2c2b6646c2 Revert "Add new @ shortcut for HEAD" 12 years ago
Thomas Rast 8dc84fdc48 Rename advice.object_name_warning to objectNameWarning 12 years ago
Ondřej Bílka 749f763dbb typofix: in-code comments 12 years ago
Jeff King 25fba78d36 cat-file: disable object/refname ambiguity check for batch mode 12 years ago
Nguyễn Thái Ngọc Duy 9c5e6c802c Convert "struct cache_entry *" to "const ..." wherever possible 12 years ago
Junio C Hamano 94d75d1ed5 get_short_sha1(): correctly disambiguate type-limited abbreviation 12 years ago
Ramkumar Ramachandra 305ebea06d sha1_name: fix error message for @{<N>}, @{<date>} 12 years ago
Nguyễn Thái Ngọc Duy 798c35fcd8 get_sha1: warn about full or short object names that look like refs 12 years ago
Ramkumar Ramachandra 17bf4ff3cd sha1_name: fix error message for @{u} 12 years ago
Junio C Hamano 84cf246670 strbuf_branchname(): do not double-expand @{-1}~22 12 years ago
Felipe Contreras 1f27e7d56b sha1_name: compare variable with constant, not constant with variable 12 years ago
Felipe Contreras cdfd94837b Add new @ shortcut for HEAD 12 years ago
Felipe Contreras 7a0a49a7ca sha1_name: refactor reinterpret() 12 years ago
Ramkumar Ramachandra 83d16bc7be sha1_name: check @{-N} errors sooner 12 years ago
Felipe Contreras 128fd54dae sha1_name: reorganize get_sha1_basic() 12 years ago
Ramkumar Ramachandra e883a057a9 sha1_name: don't waste cycles in the @-parsing loop 12 years ago
Felipe Contreras b5f769a0d7 sha1_name: remove unnecessary braces 12 years ago
Felipe Contreras 1ef2d8dacc sha1_name: remove no-op 12 years ago
Junio C Hamano a6a3f2cc07 peel_onion(): teach $foo^{object} peeler 12 years ago
Junio C Hamano ed1ca6025f peel_onion: disambiguate to favor tree-ish when we know we want a tree-ish 12 years ago
René Scharfe b2981d0622 sha1_name: pass object name length to diagnose_invalid_sha1_path() 12 years ago
Junio C Hamano 98f85ff4b6 reflog: add for_each_reflog_ent_reverse() API 12 years ago
Junio C Hamano 957d74062c rev-parse --disambiguate=<prefix> 13 years ago