288 Commits (760c4512e54e524e3a19905c10a65209fda20c12)

Author SHA1 Message Date
Michael Haggerty 760c4512e5 clear_ref_cache(): extract two new functions 14 years ago
Michael Haggerty 1b7edaf94b clear_ref_cache(): rename parameter 14 years ago
Michael Haggerty 8be8bde75f invalidate_ref_cache(): expose this function in the refs API 14 years ago
Michael Haggerty 3870a0d1d8 invalidate_ref_cache(): take the submodule as parameter 14 years ago
Michael Haggerty 79c7ca54e1 invalidate_ref_cache(): rename function from invalidate_cached_refs() 14 years ago
Brandon Casey 17d68a54de refs.c: free duplicate entries in the ref array instead of leaking them 14 years ago
Brandon Casey 687296960d refs.c: abort ref search if ref array is empty 14 years ago
Brandon Casey 43d20a8c50 refs.c: ensure struct whose member may be passed to realloc is initialized 14 years ago
Michael Haggerty dce4bab656 add_ref(): verify that the refname is formatted correctly 14 years ago
Michael Haggerty 7cb368421f resolve_ref(): expand documentation 14 years ago
Michael Haggerty f989fea0e0 resolve_ref(): also treat a too-long SHA1 as invalid 14 years ago
Michael Haggerty 629cd3ac6d resolve_ref(): emit warnings for improperly-formatted references 14 years ago
Michael Haggerty 8384d78886 resolve_ref(): verify that the input refname has the right format 14 years ago
Michael Haggerty 313fb010da resolve_ref(): do not follow incorrectly-formatted symbolic refs 14 years ago
Michael Haggerty c224ca7f66 resolve_ref(): extract a function get_packed_ref() 14 years ago
Michael Haggerty 287750507d resolve_ref(): turn buffer into a proper string as soon as possible 14 years ago
Michael Haggerty 1f58a03838 resolve_ref(): only follow a symlink that contains a valid, normalized refname 14 years ago
Michael Haggerty b54cb79597 resolve_ref(): use prefixcmp() 14 years ago
Michael Haggerty 7bb2bf8e5c resolve_ref(): explicitly fail if a symlink is not readable 14 years ago
Michael Haggerty a40e6fb67a Change check_refname_format() to reject unnormalized refnames 14 years ago
Michael Haggerty 7e9d2fe960 Do not allow ".lock" at the end of any refname component 14 years ago
Michael Haggerty 49295d4e3f Refactor check_refname_format() 14 years ago
Michael Haggerty 8d9c50105f Change check_ref_format() to take a flags argument 14 years ago
Michael Haggerty 9224b73be0 Change bad_ref_char() to return a boolean value 14 years ago
Julian Phillips e9c4c11165 refs: Use binary search to lookup refs faster 14 years ago
Julian Phillips b4f223c636 Don't sort ref_list too early 14 years ago
Junio C Hamano 3ab24efeef refs.c: make create_cached_refs() static 14 years ago
Michael Haggerty f3738c1ce9 Forbid DEL characters in reference names 14 years ago
Junio C Hamano 13d6ec9133 read_gitfile_gently(): rename misnamed function to read_gitfile() 14 years ago
Michael Haggerty 0e88c130f2 Retain caches of submodule refs 14 years ago
Michael Haggerty ce40979cf8 Store the submodule name in struct cached_refs 14 years ago
Michael Haggerty e5dbf6056f Allocate cached_refs objects dynamically 14 years ago
Michael Haggerty db4dd93a4a Change the signature of read_packed_refs() 14 years ago
Michael Haggerty 4349a66805 Access reference caches only through new function get_cached_refs() 14 years ago
Michael Haggerty f130b1168e Extract a function clear_cached_refs() 14 years ago
Josh Triplett a1bea2c1fc ref namespaces: infrastructure 14 years ago
Josh Triplett b3cfc4066d Fix prefix handling in ref iteration functions 14 years ago
Dmitry Ivankov 7be8b3baba Fix typo: existant->existent 14 years ago
Junio C Hamano c17b229454 checkout -b <name>: correctly detect existing branch 14 years ago
Heiko Voigt 9ef6aeb09f setup_revisions(): Allow walking history in a submodule 15 years ago
Heiko Voigt 0bad611b1e Teach ref iteration module about submodules 15 years ago
Pierre Habouzit 765c22588d fix git branch -m in presence of cross devices 15 years ago
Thomas Rast 157aaea5ff log_ref_setup: don't return stack-allocated array 15 years ago
Erick Mattos 859c30175f refs: split log_ref_write logic into log_ref_setup 15 years ago
Gary V. Vaughan 66dbfd55e3 Rewrite dynamic structure initializations to runtime assignment 15 years ago
Michael J Gruber b2e256b0f0 refs.c: Write reflogs for notes just like for branch heads 15 years ago
Junio C Hamano e01de1c912 refs: ref entry with NULL sha1 is can be a dangling symref 15 years ago
René Scharfe 8ca7880356 for_each_recent_reflog_ent(): use strbuf, fix offset handling 15 years ago
Thomas Rast 894a9d333e Support showing notes from more than one notes tree 15 years ago
Junio C Hamano 9517e6b843 Typofixes outside documentation area 15 years ago