X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin-reflog.c;h=cefb40da812819ed6c8af245f676b0365e23d3ea;hb=d81bf827192f0af6b1cca64d2cdbaac9b5ca2020;hp=de31967b99e89e21fe0ddd6aaacb17364d6f3a4b;hpb=37818d7db070f67a20df58ac7d5e04cc63ef1867;p=git.git diff --git a/builtin-reflog.c b/builtin-reflog.c index de31967b9..cefb40da8 100644 --- a/builtin-reflog.c +++ b/builtin-reflog.c @@ -4,122 +4,256 @@ #include "refs.h" #include "dir.h" #include "tree-walk.h" +#include "diff.h" +#include "revision.h" +#include "reachable.h" + +/* + * reflog expire + */ + +static const char reflog_expire_usage[] = +"git-reflog (show|expire) [--verbose] [--dry-run] [--stale-fix] [--expire=