From 4c35f0dbc41a2bb79e4f597d3b7bdb265c5ea750 Mon Sep 17 00:00:00 2001 From: Jeff King Date: Thu, 8 Apr 2010 15:49:08 -0400 Subject: [PATCH] docs: clarify "branch -l" This option is mostly useless these days because we turn on reflogs by default in non-bare repos. Signed-off-by: Jeff King Signed-off-by: Junio C Hamano --- Documentation/git-branch.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/git-branch.txt b/Documentation/git-branch.txt index 6b6c3da2d9..b3605c0ec5 100644 --- a/Documentation/git-branch.txt +++ b/Documentation/git-branch.txt @@ -72,6 +72,8 @@ OPTIONS Create the branch's reflog. This activates recording of all changes made to the branch ref, enabling use of date based sha1 expressions such as "@\{yesterday}". + Note that in non-bare repositories, reflogs are usually + enabled by default by the `core.logallrefupdates` config option. -f:: --force:: -- 2.11.4.GIT