From c39e864dec5fc5542e9dd14235a48fa2bb77ed6a Mon Sep 17 00:00:00 2001 From: Jakub Narebski Date: Thu, 28 Dec 2006 01:30:05 +0100 Subject: [PATCH] Add information in git-reflog(1) that "expire" removes pruned entries Add information to Documentation/git-reflog.txt that "expire" subcommand also removes entries which refer to commits that are no longer in repository. Signed-off-by: Jakub Narebski --- Documentation/git-reflog.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/git-reflog.txt b/Documentation/git-reflog.txt index 55a24d3266..04ea51a21d 100644 --- a/Documentation/git-reflog.txt +++ b/Documentation/git-reflog.txt @@ -22,11 +22,12 @@ updated. This command is to manage the information recorded in it. The subcommand "expire" is used to prune older reflog entries. Entries older than `expire` time, or entries older than `expire-unreachable` time and are not reachable from the current -tip, are removed from the reflog. This is typically not used +tip, are removed from the reflog. Entries which refer to +commits that are no longer in the repository are pruned +regardless of their age. This command is typically not used directly by the end users -- instead, see gitlink:git-gc[1]. - OPTIONS ------- -- 2.11.4.GIT