1
0
Fork 0
mirror of https://git.sr.ht/~rjarry/aerc synced 2025-02-22 23:23:57 +01:00
aerc/commands/testdata/baz
Robin Jarry 765761c5bf 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>
2024-01-17 11:52:57 +01:00
..
unused.txt commands: simplify CompletePath 2024-01-17 11:52:57 +01:00