]> git.ipfire.org Git - thirdparty/git.git/commit - git-p4.py
git-p4: filter for {'code':'info'} in p4CmdList
authorMiguel Torroja <miguel.torroja@gmail.com>
Thu, 13 Jul 2017 07:00:35 +0000 (09:00 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 13 Jul 2017 17:52:42 +0000 (10:52 -0700)
commit1997e91f4b36649e7e4f693ca9f35c7a6219de8c
treeefc8dc35912fa3cd05c753757ec15232f122c21c
parentb596b3b920208acb775bb632288976377636ccd1
git-p4: filter for {'code':'info'} in p4CmdList

The function p4CmdList accepts a new argument: skip_info. When set to
True it ignores any 'code':'info' entry (skip_info=False by default).

That allows us to fix some of the tests in t9831-git-p4-triggers.sh
known to be broken with verobse p4 triggers

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