From 4aec56d12ba66a321ce8a6db2ab60f81be5ccfc5 Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Wed, 27 Dec 2006 01:47:57 -0800 Subject: [PATCH] git-reflog: gc.* configuration and documentation. Signed-off-by: Junio C Hamano --- Documentation/config.txt | 9 ++++++ Documentation/git-reflog.txt | 59 ++++++++++++++++++++++++++++++++++++ Documentation/git.txt | 3 ++ builtin-reflog.c | 25 +++++++++++++-- 4 files changed, 94 insertions(+), 2 deletions(-) create mode 100644 Documentation/git-reflog.txt diff --git a/Documentation/config.txt b/Documentation/config.txt index 4d636267a..6452a8be1 100644 --- a/Documentation/config.txt +++ b/Documentation/config.txt @@ -192,6 +192,15 @@ format.headers:: Additional email headers to include in a patch to be submitted by mail. See gitlink:git-format-patch[1]. +gc.reflogexpire:: + `git reflog expire` removes reflog entries older than + this time; defaults to 90 days. + +gc.reflogexpireunreachable:: + `git reflog expire` removes reflog entries older than + this time and are not reachable from the current tip; + defaults to 30 days. + gc.rerereresolved:: Records of conflicted merge you resolved earlier are kept for this many days when `git rerere gc` is run. diff --git a/Documentation/git-reflog.txt b/Documentation/git-reflog.txt new file mode 100644 index 000000000..55a24d326 --- /dev/null +++ b/Documentation/git-reflog.txt @@ -0,0 +1,59 @@ +git-reflog(1) +============= + +NAME +---- +git-reflog - Manage reflog information + + +SYNOPSIS +-------- +[verse] +'git-reflog' expire [--dry-run] + [--expire=