summaryrefslogtreecommitdiff
path: root/git-difftool--helper.sh
diff options
context:
space:
mode:
authorLibravatar Luke Diamand <luke@diamand.org>2018-06-08 21:32:45 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-06-12 14:46:09 -0700
commit0ef67acdd784852ee8e86dcdb653cc290c1a77a3 (patch)
treeb6e744064b8fdde117c0e5f7e183f4f77fa7679c /git-difftool--helper.sh
parentgit-p4: add option to disable syncing of p4/master with p4 (diff)
downloadtgif-0ef67acdd784852ee8e86dcdb653cc290c1a77a3.tar.xz
git-p4: better error reporting when p4 fails
Currently when p4 fails to run, git-p4 just crashes with an obscure error message. For example, if the P4 ticket has expired, you get: Error: Cannot locate perforce checkout of <path> in client view This change checks whether git-p4 can talk to the Perforce server when the first P4 operation is attempted, and tries to print a meaningful error message if it fails. Signed-off-by: Luke Diamand <luke@diamand.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-difftool--helper.sh')
0 files changed, 0 insertions, 0 deletions