311 Commits (1a5fccc0c26b4a8abafd85a73558022e65f6f8cf)

Author SHA1 Message Date
René Scharfe 3e98919a18 sha1_name: make wraparound of the index into ring-buffer explicit 8 years ago
Jeff King ef2ed5013c find_unique_abbrev: use 4-buffer ring 8 years ago
Jeff King 38dbe5f078 alternates: store scratch buffer as strbuf 8 years ago
Jeff King 597f9134de alternates: use a separate scratch space 8 years ago
Jeff King 7f0fa2c02a alternates: provide helper for allocating alternate 8 years ago
Jeff King 8e3f52d778 find_unique_abbrev: move logic out of get_short_sha1() 8 years ago
Linus Torvalds e6c587c733 abbrev: auto size the default abbreviation 8 years ago
Jeff King 5b33cb1fd7 get_short_sha1: make default disambiguation configurable 8 years ago
Jeff King 1ffa26c461 get_short_sha1: list ambiguous objects on error 8 years ago
Jeff King fad6b9e590 for_each_abbrev: drop duplicate objects 8 years ago
Jeff King 0c99171ad2 get_short_sha1: mark ambiguity error for translation 8 years ago
Jeff King 59e4e34f69 get_short_sha1: NUL-terminate hex prefix 8 years ago
Jeff King 0016043bf4 get_short_sha1: refactor init of disambiguation code 8 years ago
Jeff King 5d5def2aa5 get_short_sha1: parse tags when looking for treeish 8 years ago
Jeff King 8a10fea49b get_sha1: propagate flags to child functions 8 years ago
Jeff King 7243ffdd78 get_sha1: avoid repeating ourselves via ONLY_TO_DIE 8 years ago
Jeff King 259942f549 get_sha1: detect buggy calls with multiple disambiguators 8 years ago
brian m. carlson 151b2911c1 sha1_name: convert get_sha1_mb to struct object_id 8 years ago
brian m. carlson 99d1a9861a cache: convert struct cache_entry to use struct object_id 8 years ago
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 9 years ago
Jeff King af49c6d091 add reentrant variants of sha1_to_hex and find_unique_abbrev 9 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 10 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