aboutsummaryrefslogtreecommitdiff
path: root/object.h
diff options
context:
space:
mode:
authorPete Wyckoff <pw@padd.com>2012-11-23 17:35:34 -0500
committerJunio C Hamano <gitster@pobox.com>2012-11-26 10:59:08 -0800
commit18fa13d0b34b6243d3679ea78325ee33ee4d0989 (patch)
treeb6dfcbc64a5443bb61ff61e753d5427b433a1c42 /object.h
parentf7d8e3d01f46ecfa5b4bc8c13640831d97a78236 (diff)
downloadgit-18fa13d0b34b6243d3679ea78325ee33ee4d0989.tar.gz
git-18fa13d0b34b6243d3679ea78325ee33ee4d0989.tar.xz
git p4: catch p4 describe errors
Group the two calls to "p4 describe" into a new helper function, and try to validate the p4 results. The current behavior when p4 describe fails is to die with a python backtrace. The new behavior will print the full response. This does not solve any particular problem, but adds more checking in hopes of narrowing down odd behavior seen on at least two occasions. Based-on-patch-by: Matt Arsenault <arsenm2@gmail.com> Reported-by: Arthur <a.foulon@amesys.fr> Signed-off-by: Pete Wyckoff <pw@padd.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'object.h')
0 files changed, 0 insertions, 0 deletions