branch: don't mix --edit-description
authorDenton Liu <redacted>
Mon, 15 Jun 2020 11:53:20 +0000 (07:53 -0400)
committerJunio C Hamano <redacted>
Wed, 17 Jun 2020 18:12:34 +0000 (11:12 -0700)
commitdc44639904c9a0899854c79c97c248f3d3cc2bdc
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 <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/branch.c
git clone https://git.99rst.org/PROJECT