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)
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>
No differences found