git p4: avoid shell when invoking git rev-list
authorPete Wyckoff <pw@padd.com>
Sun, 27 Jan 2013 03:11:21 +0000 (22:11 -0500)
committerJunio C Hamano <gitster@pobox.com>
Sun, 27 Jan 2013 06:00:39 +0000 (22:00 -0800)
commitc7d34884ae1d37e910ce6813c9baeb06c0912228
tree3e2660b7d01b2dea91754198d61d6fa07b54f72b
parent9bf28855108d7121e7c439da07175ff4c4f33e42
git p4: avoid shell when invoking git rev-list

Invoke git rev-list directly, avoiding the shell, in
P4Submit and P4Sync.  The overhead of starting extra
processes is significant in cygwin; this speeds things
up on that platform.

Signed-off-by: Pete Wyckoff <pw@padd.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-p4.py