checkout: use add_pending_{object,sha1} in orphan check
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>
Sat, 1 Oct 2011 15:51:39 +0000 (17:51 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 3 Oct 2011 18:03:41 +0000 (11:03 -0700)
Instead of building a list of textual arguments for setup_revisions, use
add_pending_object and add_pending_sha1 to queue the objects directly.
This is both faster and simpler.

Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
No differences found