summaryrefslogtreecommitdiff
path: root/repo-settings.c
diff options
context:
space:
mode:
authorLibravatar Glen Choo <chooglen@google.com>2022-03-29 20:01:19 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2022-03-30 16:45:05 -0700
commit5391e94813418dfb5ccc4c2f1d8518995b4f3ca5 (patch)
treeeb659fb3e2c77675a9c773a4938f77b3194203ac /repo-settings.c
parentbranch --set-upstream-to: be consistent when advising (diff)
downloadtgif-5391e94813418dfb5ccc4c2f1d8518995b4f3ca5.tar.xz
branch: remove negative exit code
Replace an instance of "exit(-1)" with "exit(1)". We don't use negative exit codes - they are misleading because Unix machines will coerce them to 8-bit unsigned values, losing the sign. Signed-off-by: Glen Choo <chooglen@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'repo-settings.c')
0 files changed, 0 insertions, 0 deletions