525 Commits (b65c05882fd5d42ade3c101e7e96f48a8249c82a)

Author SHA1 Message Date
Michael Haggerty cb2ae1c418 refs: extract function peel_object() 12 years ago
Michael Haggerty 662428f4e9 refs: extract a function ref_resolves_to_object() 12 years ago
Michael Haggerty 7618fd808a repack_without_ref(): use function get_packed_ref() 12 years ago
Michael Haggerty f361baeb71 peel_ref(): use function get_packed_ref() 12 years ago
Michael Haggerty 63331581ab get_packed_ref(): return a ref_entry 12 years ago
Michael Haggerty b830f6c66b do_for_each_ref_in_dirs(): remove dead code 12 years ago
Michael Haggerty 3feb4f0cfb refs: define constant PEELED_LINE_LENGTH 12 years ago
Michael Haggerty 7d76fdc829 refs: document how current_ref is used 12 years ago
Michael Haggerty fcce17039c refs: document do_for_each_ref() and do_one_ref() 12 years ago
Michael Haggerty 6c6f58dfd2 refs: document the fields of struct ref_value 12 years ago
Michael Haggerty 89df9c84e4 refs: document flags constants REF_* 12 years ago
John Keeping e4ca819abf refs.c: fix fread error handling 12 years ago
Michael Haggerty c29c46fa2e pack-refs: add fully-peeled trait 12 years ago
Junio C Hamano 98f85ff4b6 reflog: add for_each_reflog_ent_reverse() API 12 years ago
Junio C Hamano 7ae07c1bd7 for_each_recent_reflog_ent(): simplify opening of a reflog file 12 years ago
Junio C Hamano 9a7a183bd2 for_each_reflog_ent(): extract a helper to process a single entry 12 years ago
Junio C Hamano daebaa7813 upload/receive-pack: allow hiding ref hierarchies 12 years ago
René Scharfe c971ddfdcd refs: use strncmp() instead of strlen() and memcmp() 12 years ago
Jeff King b3f1280ec7 refs: do not use cached refs in repack_without_ref 12 years ago
Johan Herland b274a7146c Fix failure to delete a packed ref through a symref 12 years ago
René Scharfe 547d058fb6 refs: lock symref that is to be deleted, not its target 13 years ago
Jeff King 6c4a060d7d peel_ref: check object type before loading 13 years ago
Jeff King e6dbffa67b peel_ref: do not return a null sha1 13 years ago
Jeff King 44da6f69ec peel_ref: use faster deref_tag_noverify 13 years ago
Michael Haggerty 654ad400c2 Avoid sorting if references are added to ref_cache in order 13 years ago
Junio C Hamano e1980c9d23 refs: do not create ref_entry when searching 13 years ago
René Scharfe dd02e72852 refs: use strings directly in find_containing_dir() 13 years ago
René Scharfe b9146f517a refs: convert parameter of create_dir_entry() to length-limited string 13 years ago
René Scharfe 40ad937d47 refs: convert parameter of search_ref_dir() to length-limited string 13 years ago
Michael Haggerty 27b5587c76 free_ref_entry(): do not trigger reading of loose refs 13 years ago
Junio C Hamano 663c1295d8 refs: fix find_containing_dir() regression 13 years ago
Michael Haggerty 28e6a34e25 refs: read loose references lazily 13 years ago
Michael Haggerty 423a1afc0b read_loose_refs(): eliminate ref_cache argument 13 years ago
Michael Haggerty f006c42a11 struct ref_dir: store a reference to the enclosing ref_cache 13 years ago
Michael Haggerty 3f3aa1bc62 search_for_subdir(): return (ref_dir *) instead of (ref_entry *) 13 years ago
Michael Haggerty d7826d5427 get_ref_dir(): add function for getting a ref_dir from a ref_entry 13 years ago
Michael Haggerty 1900b976a4 read_loose_refs(): rename function from get_ref_dir() 13 years ago
Michael Haggerty d12229f532 refs: wrap top-level ref_dirs in ref_entries 13 years ago
Michael Haggerty 5fa0441844 find_containing_dir(): use strbuf in implementation of this function 13 years ago
Michael Haggerty 989c0e5d02 do_for_each_reflog(): use a strbuf to hold logfile name 13 years ago
Michael Haggerty 93c603fcb7 do_for_each_reflog(): return early on error 13 years ago
Michael Haggerty 9f2fb4a373 get_ref_dir(): take the containing directory as argument 13 years ago
Michael Haggerty f348ac923c refs.c: extract function search_for_subdir() 13 years ago
Michael Haggerty abc390989f get_ref_dir(): require that the dirname argument ends in '/' 13 years ago
Michael Haggerty 66a3d20b8f get_ref_dir(): rename "base" parameter to "dirname" 13 years ago
Michael Haggerty 72b64b44e7 get_ref_dir(): use a strbuf to hold refname 13 years ago
Michael Haggerty d5fdae6737 get_ref_dir(): return early if directory cannot be read 13 years ago
Nguyễn Thái Ngọc Duy 18986d5377 i18n: make warn_dangling_symref() automatically append \n 13 years ago
Michael Haggerty 933ac036d2 do_for_each_ref(): only iterate over the subtree that was requested 13 years ago
Michael Haggerty 432ad41e60 refs: store references hierarchically 13 years ago