54 Commits (031cee5b73caa25c1e2e75ead641230927bb272d)

Author SHA1 Message Date
brian m. carlson 7d924c9139 struct name_entry: use struct object_id instead of unsigned char sha1[20] 9 years ago
Jeff King 96ffc06f72 convert trivial cases to FLEX_ARRAY macros 9 years ago
Jeff King c3a700fba1 reflog_expire_cfg: NUL-terminate pattern field 9 years ago
brian m. carlson ed1c9977cb Remove get_object_hash. 9 years ago
brian m. carlson 7999b2cf77 Add several uses of get_object_hash. 9 years ago
René Scharfe e510ab8988 use pop_commit() for consuming the first entry of a struct commit_list 10 years ago
Alex Henrie 99885bc0ef reflog: add missing single quote to error message 10 years ago
David Turner afcb2e7a3b git-reflog: add exists command 10 years ago
Michael Haggerty 5bcad1bce2 builtin/reflog: rewrite ref functions 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
Michael Haggerty fe2a18165c reflog: improve and update documentation 10 years ago
Michael Haggerty fa5b1830b0 reflog_expire(): new function in the reference API 10 years ago
Michael Haggerty b729effbdb expire_reflog(): treat the policy callback data as opaque 10 years ago
Michael Haggerty 82a645a73f Move newlog and last_kept_sha1 to "struct expire_reflog_cb" 10 years ago
Michael Haggerty 553daf13ea expire_reflog(): move rewrite to flags argument 10 years ago
Michael Haggerty bc11155cea expire_reflog(): move verbose to flags argument 10 years ago
Michael Haggerty 8c22dd3254 expire_reflog(): pass flags through to expire_reflog_ent() 10 years ago
Michael Haggerty ddd64c566d struct expire_reflog_cb: a new callback data type 10 years ago
Michael Haggerty ea7b4f6d33 Rename expire_reflog_cb to expire_reflog_policy_cb 10 years ago
Michael Haggerty c4c4fbf86c expire_reflog(): move updateref to flags argument 10 years ago
Michael Haggerty 98f31d8589 expire_reflog(): move dry_run to flags argument 10 years ago
Michael Haggerty aba56c89b2 expire_reflog(): add a "flags" argument 10 years ago
Michael Haggerty c48a163535 expire_reflog(): extract two policy-related functions 10 years ago
Michael Haggerty 60cc3c4072 Extract function should_expire_reflog_ent() 10 years ago
Michael Haggerty f3b661f766 expire_reflog(): use a lock_file for rewriting the reflog file 10 years ago
Michael Haggerty 2e376b3156 expire_reflog(): return early if the reference has no reflog 10 years ago
Michael Haggerty 524127afbf expire_reflog(): rename "ref" parameter to "refname" 10 years ago
Michael Haggerty 55dfc8de18 expire_reflog(): it's not an each_ref_fn anymore 10 years ago
Nguyễn Thái Ngọc Duy 1fdc2abf1b reflog: avoid constructing .lock path with git_path 10 years ago
Jeff King d3038d22f9 prune: keep objects reachable from recent objects 11 years ago
Michael Haggerty 697cc8efd9 lockfile.h: extract new header file for the functions in lockfile.c 11 years ago
Michael Haggerty cf6950d3bf lockfile: change lock_file::filename into a strbuf 11 years ago
Ronnie Sahlberg 4da588357a refs.c: add new functions reflog_exists and delete_reflog 11 years ago
Nguyễn Thái Ngọc Duy eb07894fe0 use wildmatch() directly without fnmatch() wrapper 11 years ago
Christian Couder 5955654823 replace {pre,suf}fixcmp() with {starts,ends}_with() 11 years ago
Brad King 9bbb0fa1fd refs: report ref type from lock_any_ref_for_update 12 years ago
Jeff King 6e454b9a31 clear parsed flag when we free tree buffers 12 years ago
Junio C Hamano 3d27b9b005 date.c: add parse_expiry_date() 12 years ago
Junio C Hamano e8e92e05ab reflog: fix typo in "reflog expire" clean-up codepath 12 years ago
Jeff King b3873c336c reflog: use parse_config_key in config callback 12 years ago
Nguyễn Thái Ngọc Duy 95cfe9588a reflog: remove i18n legos in pruning message 13 years ago
Nguyễn Thái Ngọc Duy dc347195cc prune: show progress while marking reachable objects 14 years ago
Michael Schubert bf01d4a334 reflog: actually default to subcommand 'show' 14 years ago
Linus Torvalds 81b50f3ce4 Move 'builtin-*' into a 'builtin/' subdirectory 15 years ago
Jonathan Nieder 99caeed05d Let 'git <command> -h' show usage without a git dir 16 years ago
Jim Meyering 2b7ca830c6 use write_str_in_full helper to avoid literal string lengths 16 years ago
Matthieu Moy e77095e8b8 Better usage string for reflog. 16 years ago
Michael J Gruber b18cc5a3b2 Fix more typos/spelling in comments 16 years ago
Mike Ralphson 3ea3c215c0 Fix typos / spelling in comments 16 years ago
Junio Hamano 24cb1bb198 Speed up reflog pruning of unreachable commits 16 years ago