]> git.99rst.org Git - git.git/commit
branch: error code with --edit-description
authorRubén Justo <redacted>
Tue, 25 Oct 2022 22:57:18 +0000 (00:57 +0200)
committerJunio C Hamano <redacted>
Wed, 26 Oct 2022 17:52:37 +0000 (10:52 -0700)
commit8f241151656053e3ae130e9e0025b9cf71ccc3ce
tree87b8fd8798a6076d9a1c92cacace5a5074696a49
parentdb29e6bbaed156ae9025ff0474fd788e58230367
branch: error code with --edit-description

Since c2d17ba3db0d (branch --edit-description: protect against mistyped
branch name, 2012-02-05) we return -1 on error editing the branch
description.

Let's change to 1, which follows the established convention and it is
better for portability reasons.

Signed-off-by: Rubén Justo <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/branch.c
t/t3200-branch.sh
git clone https://git.99rst.org/PROJECT