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 <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Jeff King committed
Apr 8, 2010 at 15:49 UTC
4c35f0dbc41a2bb79e4f597d3b7bdb265c5ea750
1 file changed
+2
Documentation/git-branch.txt
+2
@@ -72,6 +72,8 @@ OPTIONS
72
Create the branch's reflog. This activates recording of
73
all changes made to the branch ref, enabling use of date
74
based sha1 expressions such as "<branchname>@\{yesterday}".
75
+ Note that in non-bare repositories, reflogs are usually
76
+ enabled by default by the `core.logallrefupdates` config option.
77
78
-f::
79
--force::