diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2021-01-06 11:01:35 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-01-06 15:15:39 -0800 |
commit | ffdd02a55d994da202acd2c792cc1218bbfa8197 (patch) | |
tree | 4cabcb9c83d4447168b8cf33f3b807d13ed84614 /builtin/branch.c | |
parent | Git 2.30 (diff) | |
download | tgif-ffdd02a55d994da202acd2c792cc1218bbfa8197.tar.xz |
branch: change "--local" to "--list" in comment
There has never been a "git branch --local", this is just a typo for
"--list". Fixes a comment added in 23e714df91c (branch: roll
show_detached HEAD into regular ref_list, 2015-09-23).
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/branch.c')
-rw-r--r-- | builtin/branch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin/branch.c b/builtin/branch.c index 9b68591add..045866a51a 100644 --- a/builtin/branch.c +++ b/builtin/branch.c @@ -726,7 +726,7 @@ int cmd_branch(int argc, const char **argv, const char *prefix) print_current_branch_name(); return 0; } else if (list) { - /* git branch --local also shows HEAD when it is detached */ + /* git branch --list also shows HEAD when it is detached */ if ((filter.kind & FILTER_REFS_BRANCHES) && filter.detached) filter.kind |= FILTER_REFS_DETACHED_HEAD; filter.name_patterns = argv; |