branch: don't mix --edit-description
commitdc44639904c9a0899854c79c97c248f3d3cc2bdc
authorDenton Liu <liu.denton@gmail.com>
Mon, 15 Jun 2020 11:53:20 +0000 (15 07:53 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 17 Jun 2020 18:12:34 +0000 (17 11:12 -0700)
treeb4d15582346fe07c6aece8a09d057b39f76cbeae
parent6b7093064a8db318bb18272a064590d558998dbf
branch: don't mix --edit-description

`git branch` accepts `--edit-description` in conjunction with other
arguments. However, `--edit-description` is its own mode, similar to
`--set-upstream-to`, which is also made mutually exclusive with other
modes. Prevent `--edit-description` from being mixed with other modes.

Signed-off-by: Denton Liu <liu.denton@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/branch.c