Option to skip files whose content hasn't changed

Registered by Elifarley Cruz on 2011-11-25

It would be nice to have an option to skip files which had their modification time changed without any changes to their content.

In some situations, it's not really important to track changes to mtimes, so why keep recording them?

The algorithm could be something like:

- if mtime hasn't changed, skip
- compare the current file checksum against its last recorded checksum. Skip if they are the same.

There's no need to have a history of checksums for each file, since only the last checksum would be necessary.

This will also help with bug 768481 (Don't write new incremental set if nothing changed).

Would it be easy to implement? Which source files would I probably need to change?

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.