42 Commits (6a951937ae1abb5fe438bfb41ebb28c5abe0419d)

Author SHA1 Message Date
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 10 years ago
Michael Haggerty 697cc8efd9 lockfile.h: extract new header file for the functions in lockfile.c 10 years ago
Michael Haggerty cf6950d3bf lockfile: change lock_file::filename into a strbuf 10 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 13 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 15 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
Linus Torvalds 9ffb15d52a Clean up reflog unreachability pruning decision 16 years ago
Junio Hamano 494fbfe87a Speed up reflog pruning of unreachable commits 16 years ago
Linus Torvalds 666e07e697 Clean up reflog unreachability pruning decision 16 years ago
Alex Riesen a4f34cbb4c Use git_pathdup instead of xstrdup(git_path(...)) 17 years ago
Pieter de Bie 90fb46ec83 builtin-reflog: Allow reflog expire to name partial ref 17 years ago
Junio C Hamano 55beff4f53 Fix deleting reflog entries from HEAD reflog 17 years ago
Stephan Beyer 1b1dd23f2d Make usage strings dash-less 17 years ago
Junio C Hamano 60bce2bb8b Make default expiration period of reflog used for stash infinite 17 years ago
Junio C Hamano 3cb22b8efe Per-ref reflog expiry configuration 17 years ago
Pierre Habouzit 336d09daf2 Make git reflog expire honour core.sharedRepository. 17 years ago