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 <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Jeff King committed Aug 30, 2018 at 16:04 UTC 94a13806fbce47de1468a49599ecb901d967aacc
1 file changed +1 -5
Documentation/git-branch.txt
+1 -5
@@ -14,7 +14,7 @@ SYNOPSIS
14 [(--merged | --no-merged) [<commit>]]
15 [--contains [<commit]] [--no-contains [<commit>]]
16 [--points-at <object>] [--format=<format>] [<pattern>...]
17 -'git branch' [--track | --no-track] [-l] [-f] <branchname> [<start-point>]
17 +'git branch' [--track | --no-track] [-f] <branchname> [<start-point>]
18 'git branch' (--set-upstream-to=<upstream> | -u <upstream>) [<branchname>]
19 'git branch' --unset-upstream [<branchname>]
20 'git branch' (-m | -M) [<oldbranch>] <newbranch>
@@ -159,10 +159,6 @@ This option is only applicable in non-verbose mode.
159 List branches. With optional `<pattern>...`, e.g. `git
160 branch --list 'maint-*'`, list only the branches that match
161 the pattern(s).
162 -+
163 -This should not be confused with `git branch -l <branchname>`,
164 -which creates a branch named `<branchname>` with a reflog.
165 -See `--create-reflog` above for details.
162
163 -v::
164 -vv::