287 Commits (768b9d6db7895262d941dc93fc84e78da2189759)

Author SHA1 Message Date
brian m. carlson 2764fd93ad sha1-name: introduce a get_oid() function 9 years ago
Jeff King 46c3cd44d7 setup: make startup_info available everywhere 9 years ago
Jeff King 50a6c8efa2 use st_add and st_mult for allocation size computation 9 years ago
Jeff King aac4fac168 get_sha1: don't die() on bogus search strings 9 years ago
Will Palmer 0769854f3d object name: introduce '^{/!-<negative pattern>}' notation 9 years ago
brian m. carlson ed1c9977cb Remove get_object_hash. 9 years ago
brian m. carlson f2fd0760f6 Convert struct object to object_id 9 years ago
brian m. carlson 7999b2cf77 Add several uses of get_object_hash. 9 years ago
Jeff King 43bb66ae0b diagnose_invalid_index_path: use strbuf to avoid strcpy/strcat 9 years ago
Jeff King c3bb0ac796 find_short_object_filename: convert sprintf to xsnprintf 10 years ago
Jeff King af49c6d091 add reentrant variants of sha1_to_hex and find_unique_abbrev 10 years ago
Jeff King a5481a6c94 convert "enum date_mode" into a struct 10 years ago
Michael Haggerty 9c5fe0b846 handle_one_ref(): rewrite to take an object_id argument 10 years ago
Michael Haggerty 2b2a5be394 each_ref_fn: change to take an object_id parameter 10 years ago
Jeff King adfe5d0434 sha1_name: implement @{push} shorthand 10 years ago
Jeff King 48c58471c2 sha1_name: refactor interpret_upstream_mark 10 years ago
Jeff King a1ad0eb0cb sha1_name: refactor upstream_mark 10 years ago
Jeff King 3a429d0af3 remote.c: report specific errors from branch_get_upstream 10 years ago
René Scharfe dbe44faadb use file_exists() to check if a file exists in the worktree 10 years ago
David Turner c4ec96774b sha1_name: get_sha1_with_context learns to follow symlinks 10 years ago
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