From: Jeff King Date: Thu, 30 Aug 2018 20:04:53 +0000 (-0400) Subject: doc/git-branch: remove obsolete "-l" references X-Git-Tag: v2.20.0-rc0~250^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=94a13806fbce47de1468a49599ecb901d967aacc;p=git 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 --- 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::