Searched hist:"0 a245329500f3be55c2a4eb03710ad926803aac6" (Results 1 – 4 of 4) sorted by relevance
| /dokuwiki/_test/tests/ChangeLog/ |
| H A D | PageChangeLogTest.php | 0a245329500f3be55c2a4eb03710ad926803aac6 Sun Jun 07 18:19:49 UTC 2026 Andreas Gohr <andi@splitbrain.org> fix(changelog): don't record an external edit when the content is unchanged (#4634)
A current revision's file mtime can change without its content changing — a backup restore, a git checkout, an in-place rewrite. Such a bump was detected as an external edit and logged with a 0-byte size change, cluttering history.
getCurrentRevisionInfo() now compares the current content against the last recorded revision before treating an mtime change as an external edit. When the content is identical no external edit happened: the file mtime is reset to the recorded revision date and the last revision is returned. The comparison is an abstract currentContentMatchesRevision() — pages compare the decompressed text, media compare file size then md5_file().
|
| /dokuwiki/inc/ChangeLog/ |
| H A D | PageChangeLog.php | 0a245329500f3be55c2a4eb03710ad926803aac6 Sun Jun 07 18:19:49 UTC 2026 Andreas Gohr <andi@splitbrain.org> fix(changelog): don't record an external edit when the content is unchanged (#4634)
A current revision's file mtime can change without its content changing — a backup restore, a git checkout, an in-place rewrite. Such a bump was detected as an external edit and logged with a 0-byte size change, cluttering history.
getCurrentRevisionInfo() now compares the current content against the last recorded revision before treating an mtime change as an external edit. When the content is identical no external edit happened: the file mtime is reset to the recorded revision date and the last revision is returned. The comparison is an abstract currentContentMatchesRevision() — pages compare the decompressed text, media compare file size then md5_file().
|
| H A D | MediaChangeLog.php | 0a245329500f3be55c2a4eb03710ad926803aac6 Sun Jun 07 18:19:49 UTC 2026 Andreas Gohr <andi@splitbrain.org> fix(changelog): don't record an external edit when the content is unchanged (#4634)
A current revision's file mtime can change without its content changing — a backup restore, a git checkout, an in-place rewrite. Such a bump was detected as an external edit and logged with a 0-byte size change, cluttering history.
getCurrentRevisionInfo() now compares the current content against the last recorded revision before treating an mtime change as an external edit. When the content is identical no external edit happened: the file mtime is reset to the recorded revision date and the last revision is returned. The comparison is an abstract currentContentMatchesRevision() — pages compare the decompressed text, media compare file size then md5_file().
|
| H A D | ChangeLog.php | 0a245329500f3be55c2a4eb03710ad926803aac6 Sun Jun 07 18:19:49 UTC 2026 Andreas Gohr <andi@splitbrain.org> fix(changelog): don't record an external edit when the content is unchanged (#4634)
A current revision's file mtime can change without its content changing — a backup restore, a git checkout, an in-place rewrite. Such a bump was detected as an external edit and logged with a 0-byte size change, cluttering history.
getCurrentRevisionInfo() now compares the current content against the last recorded revision before treating an mtime change as an external edit. When the content is identical no external edit happened: the file mtime is reset to the recorded revision date and the last revision is returned. The comparison is an abstract currentContentMatchesRevision() — pages compare the decompressed text, media compare file size then md5_file().
|