Use Git commit time as file modification time
Description
I set up Git on iOS for the first time. There are files in there I haven't touched in 15 years. Yet they all show up as modified today. This is hiding valuable information from me, and the sort order doesn't match what I see on the Mac.
To Reproduce
- Fill out Git settings (for the first time)
- Sort View by Modification Date
Expected behavior
No response
FSNotes version
6.4.2
macOS/iOS version
iOS 17.5.1
Additional context
No response
git does not store metadata
git does not store metadata
You're right. It does store the time of each commit, and what files were changed. There are scripts to apply that to mtime after checkout. So please change this to a feature request. I know you can't currently work on those.
Experimentally in the latest release an option for storing dates in TextBundle has been added. Perhaps it will be a solution for someone.
Due to other sync issues I cannot test this right now, but the commit suggests it works on iOS. Thanks!
It violates https://textbundle.org/spec/ because created and modified are top-level keys rather than in a co.fluder.fsnotes object.