get_sha1_oneline: make callers prepare the commit list to traverse
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Mon, 13 Dec 2010 03:01:14 +0000 (10:01 +0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 13 Dec 2010 06:32:01 +0000 (22:32 -0800)
commit84baa31bcb6925b06dd1b9aaa1ed6f7a725e64cc
tree0c7c2982f0acab36132c5d29249ffd79db413a9a
parent28042dbcd60f3190d25cfeae0bf81d58a16f4771
get_sha1_oneline: make callers prepare the commit list to traverse

This gives callers more control, i.e. which ref will be searched from.
They must prepare the list ordered by committer date.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
sha1_name.c