]> git.ipfire.org Git - thirdparty/git.git/commit - git-p4.py
git-p4: parse marshal output "p4 -G" in p4 changes
authorMiguel Torroja <miguel.torroja@gmail.com>
Thu, 13 Jul 2017 07:00:34 +0000 (09:00 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 13 Jul 2017 17:52:40 +0000 (10:52 -0700)
commitb596b3b920208acb775bb632288976377636ccd1
tree13d22c73681c7ae82a199f201267742976bb95ff
parentc625bf0ee80a2362ce59819ce011ee17f2a6b2ce
git-p4: parse marshal output "p4 -G" in p4 changes

The option -G of p4 (python marshal output) gives more context about the
data being output. That's useful when using the command "change -o" as
we can distinguish between warning/error line and real change description.

This fixes the case where a p4 trigger for  "p4 change" is set and the command git-p4 submit is run.

Signed-off-by: Miguel Torroja <miguel.torroja@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-p4.py
t/t9831-git-p4-triggers.sh