diff options
author | Robin Jarry <robin@jarry.cc> | 2023-12-22 15:51:14 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2024-01-17 11:52:57 +0100 |
commit | 765761c5bf49799e7d74535b9727062c869fc358 (patch) | |
tree | d0a381d24165e20194bd90085e13c7ca8083a404 /lib/notmuch | |
parent | 4239f0d80204a2d1f7a2475adfd62b39cd86d075 (diff) | |
download | aerc-765761c5bf49799e7d74535b9727062c869fc358.tar.gz |
commands: simplify CompletePath
This function is overly complex, has code duplication and is not
preserving user input (converting all paths to absolute paths).
Simplify it and avoid converting relative paths to absolute ones.
Add unit tests to ensure it works as expected.
Signed-off-by: Robin Jarry <robin@jarry.cc>
Tested-by: Bence Ferdinandy <bence@ferdinandy.com>
Diffstat (limited to 'lib/notmuch')
0 files changed, 0 insertions, 0 deletions