From 1b593e1ea4d2af0f6444d9a7788d5d99abd6fde5 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Sat, 11 Jan 2020 23:36:56 +0000 Subject: Squashed 'third_party/git/' content from commit cb71568594 git-subtree-dir: third_party/git git-subtree-split: cb715685942260375e1eb8153b0768a376e4ece7 --- builtin/reflog.c | 788 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 788 insertions(+) create mode 100644 builtin/reflog.c (limited to 'builtin/reflog.c') diff --git a/builtin/reflog.c b/builtin/reflog.c new file mode 100644 index 000000000000..4d3430900d06 --- /dev/null +++ b/builtin/reflog.c @@ -0,0 +1,788 @@ +#include "builtin.h" +#include "config.h" +#include "lockfile.h" +#include "object-store.h" +#include "repository.h" +#include "commit.h" +#include "refs.h" +#include "dir.h" +#include "tree-walk.h" +#include "diff.h" +#include "revision.h" +#include "reachable.h" +#include "worktree.h" + +/* NEEDSWORK: switch to using parse_options */ +static const char reflog_expire_usage[] = +N_("git reflog expire [--expire=