revision: factor out add_pending_sha1
authorRené Scharfe <rene.scharfe@lsrfire.ath.cx>
Sat, 1 Oct 2011 15:43:52 +0000 (17:43 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 3 Oct 2011 18:02:56 +0000 (11:02 -0700)
commit26c3177ee41897af984fac9148763131562accf2
tree52f2c77fdfc087fb5f2c67607576fe14675f5e33
parent83933c9832af91a71337e429a6251f1a3b6d6f60
revision: factor out add_pending_sha1

This function is a combination of the static get_reference and
add_pending_object.  It can be used to easily queue objects by hash.

Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
revision.c
revision.h