Is it annoying to change the timestamp with slight portion of change?
For example, just fix a typo.
So, Repository#update needs an option to keep timestamp unchanged. When the option was specified, it would update only the content and it would not touch the timestamp.
The third argument is optional, and it has a default value, false. That is, this modification would not cause any inconsistency for existing client programs.
Is it annoying to change the timestamp with slight portion of change? For example, just fix a typo.
So,
Repository#update
needs an option to keep timestamp unchanged. When the option was specified, it would update only the content and it would not touch the timestamp.The interface should be like:
The third argument is optional, and it has a default value,
false
. That is, this modification would not cause any inconsistency for existing client programs.