Prevent unmodified designs from being committed as an update
Our SaveDesignsService
will version and commit designs files that have not actually been modified since their last version. These appear as update
s in the version history for the design.
Besides the version history becoming a bit inaccurate and silly looking, this may create future problems for us. For example, because annotations use the existing DiffNote
classes, we get errors when producing the discussion threads for discussions started on designs that have not changed in their "diff". There may be other issues lurking if we allow unmodified files to be committed, as git wouldn't normally let this happen.
Edited by Luke Duncalfe