Skip to content

lib/model: Fix warning log statement (ref #8583) - #8584

Merged
calmh merged 1 commit into
syncthing:mainfrom
imsodin:model/fix_ctime_err
Oct 5, 2022
Merged

calmh merged 1 commit into
syncthing:mainfrom
imsodin:model/fix_ctime_err

Conversation

@imsodin

@imsodin imsodin commented Oct 5, 2022

Copy link
Copy Markdown
Member

No description provided.

@acolomb

acolomb commented Oct 5, 2022

Copy link
Copy Markdown
Member

This removes the quotes around the file name though. Should we add them manually to make it easier to read?

@calmh
calmh merged commit a0c80e0 into syncthing:main Oct 5, 2022
@calmh

calmh commented Oct 5, 2022 •

Copy link
Copy Markdown
Member

I have a tendency to use %q for some reason but Simon hates it (maybe he sees more \\\\windows\\paths) and has the standard library on his side so %v it is :D

@imsodin
imsodin deleted the model/fix_ctime_err branch October 5, 2022 17:47
@imsodin

imsodin commented Oct 5, 2022 •

Copy link
Copy Markdown
Member Author

Indeed I do :) If you want quotes, you use backticks like this `blabla de bladibla (path "%v"): %v`. Oh or %s if you don't want to be as lazy as I am and use %v basically always.

@calmh calmh added this to the v1.22.1 milestone Oct 17, 2022
@st-review st-review added the frozen-due-to-age Issues closed and untouched for a long time, together with being locked for discussion label Oct 12, 2023
@syncthing syncthing locked and limited conversation to collaborators Oct 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

frozen-due-to-age Issues closed and untouched for a long time, together with being locked for discussion

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants