Skip to content

pr-892/joshuahunt/johunt/git-branch-list-return-error-v1

From: Josh Hunt <johunt@akamai.com>

Currently git branch --list foo always returns an exit status of 0 even
when the branch being searched for does not exist. Now an error is printed
and returns a non-zero exit status.

Signed-off-by: Josh Hunt <johunt@akamai.com>

Submitted-As: https://lore.kernel.org/git/pull.892.git.1614793491538.gitgitgadget@gmail.com
Assets 2