Output of restic version
restic 0.17.3-dev (de9a040) compiled with go1.23.3 on linux/amd64
What backend/service did you use to store the repository?
local filesystem
Problem description / Steps to reproduce
issue restic -r .. find xxx -O '2025-01-01' -N '2020-01-01'. No output.
Swap -O with -N and the result lines appear!
Expected behavior
I expected an error message, since these given dates will never produce any meaningful result.
I will create an PR and change restic find so it will produce an appropriate error message.
Actual behavior
No output, no error message, return code 0.
Do you have any idea what may have caused this?
Missing test for pat.oldest >= pat.newest.
Did restic help you today? Did it make you happy in any way?
Yes, I like restic very much.
Output of
restic versionrestic 0.17.3-dev (de9a040) compiled with go1.23.3 on linux/amd64
What backend/service did you use to store the repository?
local filesystem
Problem description / Steps to reproduce
issue
restic -r .. find xxx -O '2025-01-01' -N '2020-01-01'. No output.Swap -O with -N and the result lines appear!
Expected behavior
I expected an error message, since these given dates will never produce any meaningful result.
I will create an PR and change
restic findso it will produce an appropriate error message.Actual behavior
No output, no error message, return code 0.
Do you have any idea what may have caused this?
Missing test for pat.oldest >= pat.newest.
Did restic help you today? Did it make you happy in any way?
Yes, I like restic very much.