214 Commits (b3c32ead20bc4d3baa6cffe00dd862f069463869)

Author SHA1 Message Date
Jeff King f475e08edb lock_ref: inform callers of unavailable ref 16 years ago
Felipe Contreras 4577e48364 Change prettify_ref to prettify_refname 16 years ago
Robin Rosenberg a4c2e69936 Disallow '\' in ref names 16 years ago
Alex Riesen 691f1a28bf replace direct calls to unlink(2) with unlink_or_warn 16 years ago
Bert Wesarg 6e7b3309d3 shorten_unambiguous_ref(): add strict mode 16 years ago
Jeff King 7c2b3029df make get_short_ref a public function 16 years ago
Christian Couder 2a8177b63d refs: add "for_each_ref_in" function to refactor "for_each_*_ref" functions 16 years ago
Shawn O. Pearce 3e262b95c5 Don't permit ref/branch names to end with ".lock" 16 years ago
Junio C Hamano cbdffe4093 check_ref_format(): tighten refname rules 16 years ago
Miklos Vajna edbc25c5b3 refs: use warning() instead of fprintf(stderr, "warning: ") 16 years ago
Daniel Barkalow a9c37a72c4 Use a common function to get the pretty name of refs 16 years ago
Daniel Barkalow abd2bde78b Support '*' in the middle of a refspec 16 years ago
Daniel Barkalow 08fbdb3043 Keep '*' in pattern refspecs 16 years ago
Jeff King 5483f79998 refactor find_ref_by_name() to accept const list 16 years ago
Junio C Hamano f8948e2fbc remote prune: warn dangling symrefs 16 years ago
Junio C Hamano 101d15e097 Introduce for_each_recent_reflog_ent(). 16 years ago
Daniel Lowe 9db56f71b9 Fix non-literal format in printf-style calls 16 years ago
Clemens Buchacher 5bdd8d4a30 do not force write of packed refs 16 years ago
Miklos Vajna 045a476f91 update-ref --no-deref -d: handle the case when the pointed ref is packed 16 years ago
Alex Riesen a4f34cbb4c Use git_pathdup instead of xstrdup(git_path(...)) 16 years ago
Alex Riesen 958a4789e0 Fix potentially dangerous use of git_path in ref.c 16 years ago
Miklos Vajna fa58186c9b git branch -m: forbid renaming of a symref 16 years ago
Miklos Vajna 450d4c0f5a rename_ref(): handle the case when the reflog of a ref does not exist 16 years ago
Miklos Vajna eca35a25a9 Fix git branch -m for symrefs. 16 years ago
Junio C Hamano acd3b9eca8 Enhance hold_lock_file_for_{update,append}() API 16 years ago
Christian Couder 4886b89f8f refs: improve comments about "reading" argument of "resolve_ref" 17 years ago
Jeff King d1a4489a56 avoid null SHA1 in oldest reflog 17 years ago
Jeff King 0b294c0abf make deleting a missing ref more quiet 17 years ago
Daniel Barkalow e142a3c61d Allow for having for_each_ref() list extra refs 17 years ago
Heikki Orsila 0104ca09e3 Make read_in_full() and write_in_full() consistent with xread() and xwrite() 17 years ago
Lars Hjemli 842abf06f3 Teach resolve_gitlink_ref() about the .git file 17 years ago
Shawn O. Pearce 0ae91be0e1 Optimize peel_ref for the current ref of a for_each_ref callback 17 years ago
Shawn O. Pearce 8c87dc77ae Protect peel_ref fallback case from NULL parse_object result 17 years ago
Brandon Casey 435fc8523f refs.c: make close_ref() and commit_ref() non-static 17 years ago
Brandon Casey b531394d58 refs.c: rework ref_locks by abstracting from underlying struct lock_file 17 years ago
Brandon Casey 4ed7cd3ab0 Improve use of lockfile API 17 years ago
Linus Torvalds c3b0dec509 Be more careful about updating refs 17 years ago
Junio C Hamano 257f3020f6 Update callers of check_ref_format() 17 years ago
Junio C Hamano 5f7b202a7f lock_any_ref_for_update(): reject wildcard return from check_ref_format 17 years ago
Junio C Hamano 774751a8bc Re-fix "builtin-commit: fix --signoff" 17 years ago
Steffen Prohaska 605b4978a1 refactor fetch's ref matching to use refname_match() 17 years ago
Steffen Prohaska 79803322c1 add refname_match() 17 years ago
Jeff King cda69f481d make "find_ref_by_name" a public function 17 years ago
Johannes Sixt 549799b4a1 refs.c: Remove unused get_ref_sha1() 17 years ago
Johannes Schindelin 7155b727c9 Introduce remove_dir_recursively() 18 years ago
Pierre Habouzit 182af8343c Use xmemdupz() in many places. 18 years ago
Carlos Rica 3d9f037c60 Function for updating refs. 18 years ago
Alex Riesen cbbb218f8b Fix filehandle leak in "git branch -D" 18 years ago
Junio C Hamano 0ec29a4760 log_ref_write() -- do not chomp reflog message at the first LF 18 years ago
Junio C Hamano 73013afd14 Make show_rfc2822_date() just another date output format. 18 years ago