Michael Haggerty
f537cfa750
filter_refs(): simplify logic
...
Simplify flow within loop: first decide whether to keep the reference,
then keep/free it. This makes it clearer that each ref has exactly
two possible destinies, and removes duplication of the code for
appending the reference to the linked list.
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu >
Signed-off-by: Junio C Hamano <gitster@pobox.com >
2012-09-12 11:46:31 -07:00
..
2012-08-20 12:23:15 -07:00
2012-09-07 11:09:26 -07:00
2012-08-22 12:02:28 -07:00
2012-08-20 12:23:15 -07:00
2012-09-07 11:09:09 -07:00
2012-09-07 11:10:02 -07:00
2012-09-07 11:09:09 -07:00
2012-08-20 12:23:15 -07:00
2012-08-22 12:02:28 -07:00
2012-09-07 11:09:09 -07:00
2012-08-20 12:23:16 -07:00
2012-08-20 12:23:16 -07:00
2012-08-20 12:23:16 -07:00
2012-07-23 20:55:54 -07:00
2012-08-24 12:05:08 -07:00
2012-09-07 11:09:09 -07:00
2012-08-20 12:23:16 -07:00
2012-08-20 12:23:16 -07:00
2012-08-27 11:54:28 -07:00
2012-08-20 12:23:16 -07:00
2012-09-12 11:46:31 -07:00
2012-08-20 12:23:16 -07:00
2012-08-20 12:23:17 -07:00
2012-09-07 11:09:09 -07:00
2012-08-20 12:23:17 -07:00
2012-08-20 12:23:17 -07:00
2012-09-07 11:09:09 -07:00
2012-08-20 12:23:17 -07:00
2012-08-20 12:23:17 -07:00
2012-08-20 12:23:17 -07:00
2012-09-07 11:09:09 -07:00
2012-08-20 12:23:18 -07:00
2012-08-20 12:23:18 -07:00
2012-08-21 16:10:53 -07:00
2012-08-20 12:23:18 -07:00
2012-08-20 12:23:18 -07:00
2012-09-07 11:09:09 -07:00
2012-08-20 12:23:18 -07:00
2012-08-20 12:23:18 -07:00
2012-08-20 12:23:18 -07:00
2012-08-22 12:02:28 -07:00
2012-08-20 12:23:18 -07:00
2012-08-20 12:23:19 -07:00
2012-08-20 12:23:19 -07:00
2012-09-07 11:09:09 -07:00
2012-09-07 11:09:09 -07:00
2012-08-20 12:23:19 -07:00
2012-08-29 14:50:07 -07:00
2012-08-20 12:23:19 -07:00
2012-08-20 12:23:19 -07:00
2012-08-20 12:23:19 -07:00
2012-08-20 12:23:19 -07:00
2012-09-07 11:09:18 -07:00
2012-09-07 11:09:09 -07:00
2012-08-20 12:23:20 -07:00
2012-08-10 12:35:13 -07:00
2012-08-20 12:23:20 -07:00
2012-08-22 10:58:28 -07:00
2012-08-22 10:58:28 -07:00
2012-08-22 10:58:28 -07:00
2012-08-22 12:02:28 -07:00
2012-08-22 10:58:29 -07:00
2012-08-22 12:02:28 -07:00
2012-08-22 10:58:29 -07:00
2012-08-22 10:58:29 -07:00
2012-08-22 10:58:29 -07:00
2012-08-22 10:58:29 -07:00