X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin-reflog.c;h=cefb40da812819ed6c8af245f676b0365e23d3ea;hb=d81bf827192f0af6b1cca64d2cdbaac9b5ca2020;hp=4097c328ccdfc8c377ccf9c23a4330fe2020c5c8;hpb=8d8b9f6252271899708b32fbce4cd2541af9545a;p=git.git diff --git a/builtin-reflog.c b/builtin-reflog.c index 4097c328c..cefb40da8 100644 --- a/builtin-reflog.c +++ b/builtin-reflog.c @@ -4,121 +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=