Triplicated logo SVG
We have three copies of our logo:
-
assets/images/logo-text.svg — bit-for-bit identical to the previous one
-
images/logos/rb.svg — identical to the previous ones except for removal of an XML comment and some whitespace:
% diff -w -U0 assets/images/footer/logo-text.svg images/logos/rb.svg --- assets/images/footer/logo-text.svg 2018-12-26 22:55:37.456947789 +0000 +++ images/logos/rb.svg 2018-09-03 13:49:46.674081819 +0000 @@ -2 +1,0 @@ -<!-- Generator: Adobe Illustrator 22.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> @@ -25,2 +24 @@ - <polygon fill="#2B89D6" points="50.743,11.919 61.561,22.738 77.401,22.738 77.401,6.899 66.582,-3.92 66.582,11.919 - "/> + <polygon fill="#2B89D6" points="50.743,11.919 61.561,22.738 77.401,22.738 77.401,6.899 66.582,-3.92 66.582,11.919"/> @@ -31,2 +29 @@ - <polygon fill="#2B89D6" points="9.023,53.638 19.842,64.457 35.681,64.457 35.681,48.618 24.863,37.799 24.863,53.638 - "/> + <polygon fill="#2B89D6" points="9.023,53.638 19.842,64.457 35.681,64.457 35.681,48.618 24.863,37.799 24.863,53.638"/> @@ -37,2 +34 @@ - <polygon fill="#2B89D6" points="66.511,72.377 77.33,61.558 77.401,45.648 61.491,45.719 50.672,56.537 66.582,56.467 - "/> + <polygon fill="#2B89D6" points="66.511,72.377 77.33,61.558 77.401,45.648 61.491,45.719 50.672,56.537 66.582,56.467"/>
It would be nice to:
-
Make all three files bit-for-bit identical. -
Make all three files have the same basename as each other. -
Remove two of the three files. https://en.wikipedia.org/wiki/Don%27t_repeat_yourself
Edited by Daniel Shahaf