import-tars: Use the "Link indicator" to identify directories
Earlier, we used the mode to determine if a name was associated with a directory. This fails, since some tar programs do not set the mode correctly. However, the link indicator _has_ to be set correctly.
Noticed by Chris Riddoch.
Signed-off-by: Johannes Schindelin <firstname.lastname@example.org> Acked-by: Junio C Hamano <email@example.com> Signed-off-by: Shawn O. Pearce <firstname.lastname@example.org>