199 Commits (b74d7efb108c9d3fd2d057b0c452583552a0577a)

Author SHA1 Message Date
Christian Couder 2a8177b63d refs: add "for_each_ref_in" function to refactor "for_each_*_ref" functions 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() 17 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
Jim Meyering 91c8d5905c detect close failure on just-written file handles 18 years ago
Junio C Hamano 4175e9e3a8 More static 18 years ago
Daniel Barkalow 8558fd9ece Move refspec pattern matching to match_refs(). 18 years ago
Sven Verdoolaege 68db31cc28 git-update-ref: add --no-deref option for overwriting/detaching ref 18 years ago
Julian Phillips c774aab98c refs.c: add a function to sort a ref list, rather then sorting on add 18 years ago
Carlos Rica 1401f46bb4 Use const qualifier for 'sha1' parameter in delete_ref function 18 years ago
Linus Torvalds 0ebde32c87 Add 'resolve_gitlink_ref()' helper function 18 years ago
Lars Hjemli 19eba1515a Make builtin-branch.c handle the git config file 18 years ago