diff options
author | Luke Diamand <luke@diamand.org> | 2018-06-08 21:32:45 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-06-12 14:46:09 -0700 |
commit | 0ef67acdd784852ee8e86dcdb653cc290c1a77a3 (patch) | |
tree | b6e744064b8fdde117c0e5f7e183f4f77fa7679c /Documentation/howto/update-hook-example.txt | |
parent | git-p4: add option to disable syncing of p4/master with p4 (diff) | |
download | tgif-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 'Documentation/howto/update-hook-example.txt')
0 files changed, 0 insertions, 0 deletions