Use get-ref-list to get the commit parents
authorCatalin Marinas <catalin.marinas@gmail.com>
Sun, 10 Sep 2006 13:56:38 +0000 (14:56 +0100)
committerCatalin Marinas <catalin.marinas@gmail.com>
Sun, 10 Sep 2006 13:56:38 +0000 (14:56 +0100)
commit2406f7d16cad24d396b3e8ea5605813f4011b5a6
treebc860d942984233ccc6ddf7439a6b2d33a79774a
parent89e3bc51b5d645f6814a152d853994467eafea81
Use get-ref-list to get the commit parents

Thanks to Yann Dirson for submitting the initial patch. The patch was
modified to only call git-rev-list when the commit parents are
required, otherwise operations like 'push' would be slowed down.

Signed-off-by: Catalin Marinas <catalin.marinas@gmail.com>
stgit/git.py