Skip to content
  • Eric Armbruster's avatar
    Ensure path is shortened correctly · 978b9f7e
    Eric Armbruster authored and Christoph Cullmann's avatar Christoph Cullmann committed
    This is to avoid a scenario described by @odeda:
    
    Given project based dir ~/doc and a file at ~/documents/foo.txt (a
    different directory), wouldn't this code cause shortestPath() to return
    "uments/foo.txt"? This would not be useful.
    978b9f7e