(find_branch_part): When figuring out what part of the file name to
display for a previous branch of the file, display all different path
components rather than displaying all different characters. That is,
when comparing the current file name to the previous one, split it up
on slashes and compare the components instead of doing a
character-by-character comparison. This gives a much more intuitive
result.