fast-export: refactor get_tags_and_duplicates()
commit3e9b9cb117feb6e3c942aab4c8e756568f4f0f06
authorFelipe Contreras <felipe.contreras@gmail.com>
Sun, 1 Sep 2013 07:05:48 +0000 (1 02:05 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 3 Sep 2013 19:42:25 +0000 (3 12:42 -0700)
tree06e679dfe19e9308c3c813df3ed2e2858d127f42
parent1d844ee7bd386347f71b7d49e3be8df690b641b5
fast-export: refactor get_tags_and_duplicates()

Split into a separate helper function get_commit() so that the part that
finds the relevant commit, and the part that does something with it
(handle tag object, etc.) are in different places.

No functional changes.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/fast-export.c