Refactoring get_longest_common_path to be simpler and more efficient
Refactoring get_longest_common_path to be simpler and more efficient

mattgreen/watchexec,mattgreen/watchexec,mattgreen/watchexec,mattgreen/watchexec