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