From 94a13806fbce47de1468a49599ecb901d967aacc Mon Sep 17 00:00:00 2001 From: Jeff King Date: Thu, 30 Aug 2018 16:04:53 -0400 Subject: [PATCH] doc/git-branch: remove obsolete "-l" references The previous commit switched "-l" to meaning "--list", but a few vestiges of its prior meaning as "--create-reflog" remained: - the synopsis mentioned "-l" when creating a new branch; we can drop this entirely, as it has been the default for years - the --list command mentions the unfortunate "-l" confusion, but we've now fixed that Signed-off-by: Jeff King Signed-off-by: Junio C Hamano --- Documentation/git-branch.txt | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Documentation/git-branch.txt b/Documentation/git-branch.txt index fc88e984e1..73ca0532ea 100644 --- a/Documentation/git-branch.txt +++ b/Documentation/git-branch.txt @@ -14,7 +14,7 @@ SYNOPSIS [(--merged | --no-merged) []] [--contains []] [--points-at ] [--format=] [...] -'git branch' [--track | --no-track] [-l] [-f] [] +'git branch' [--track | --no-track] [-f] [] 'git branch' (--set-upstream-to= | -u ) [] 'git branch' --unset-upstream [] 'git branch' (-m | -M) [] @@ -159,10 +159,6 @@ This option is only applicable in non-verbose mode. List branches. With optional `...`, e.g. `git branch --list 'maint-*'`, list only the branches that match the pattern(s). -+ -This should not be confused with `git branch -l `, -which creates a branch named `` with a reflog. -See `--create-reflog` above for details. -v:: -vv::