summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorCarlo Marcelo Arenas Belón <carenas@gmail.com>2022-05-12 15:39:37 -0700
committerJunio C Hamano <gitster@pobox.com>2022-05-12 15:43:07 -0700
commitcde6b9b78d8c2c6d3436c59f91e09901026e6f8f (patch)
tree519b44134af9f6e9970f66d4cdcc3caccec0dd62 /builtin/commit.c
parent6cd33dceed60949e2dbc32e3f0f5e67c4c882e1e (diff)
ci: make failure to find perforce more user friendly
In preparation for a future change that will make perforce installation optional in macOS, make sure that the check for it is done without triggering scary looking errors and add a user friendly message instead. All other existing uses of 'type <cmd>' in our shell scripts that check the availability of a command <cmd> send both standard output and error stream to /dev/null to squelch "<cmd> not found" diagnostic output, but this script left the standard error stream shown. Redirect it just like everybody else to squelch this error message that we fully expect to see. Helped-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Carlo Marcelo Arenas Belón <carenas@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions