Be smarter about partial file name matches #18
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This is best shown with an example. Here I use view although the same is true for any command that takes an existing file name like view or edit.
This currently does looks in up to 3 places for the file:
test
is an integer, it will try to find a file with that id (obviously not in this case)test
test.md
This is ok for now while all files are markdown although it might be more useful to check the DB after determining it is not an ID.
This way, we could match a unique string.