]> git.ipfire.org Git - thirdparty/git.git/commit
sort_ref_dir(): simplify logic
authorMichael Haggerty <mhagger@alum.mit.edu>
Tue, 10 Apr 2012 05:30:25 +0000 (07:30 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 10 Apr 2012 22:55:50 +0000 (15:55 -0700)
commit81a79d8e27f6dd5908ae9ba122833574b7475151
treeb82edb063aeaf2c796413cdee546de940bf46c22
parentd3177275ed8e7dcb258a4496bf7b9317edfb9700
sort_ref_dir(): simplify logic

Use the more usual indexing idiom for clarity.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs.c