my-ideal-vcs.html (2239B)
1 <!DOCTYPE html> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <meta charset="utf-8" /> 5 <meta name="generator" content="pandoc 3.11" /> 6 <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" /> 7 <title>my-ideal-vcs</title> 8 <style> 9 /* Default styles provided by pandoc. 10 ** See https://pandoc.org/MANUAL.html#variables-for-html for config info. 11 */ 12 span.smallcaps{font-variant: small-caps;} 13 div.columns{display: flex; gap: 1.5em;} 14 div.column{flex: auto;} 15 @media screen { 16 div.columns{gap: min(4vw, 1.5em);} 17 div.column{overflow-x: auto;} 18 } 19 div.hanging-indent{margin-left: 1.5em; text-indent: -1.5em;} 20 /* The extra [class] is a hack that increases specificity enough to 21 override a similar rule in reveal.js */ 22 ul.task-list[class]{list-style: none;} 23 ul.task-list li input[type="checkbox"] { 24 font-size: inherit; 25 width: 0.8em; 26 margin: 0 0.8em 0.2em -1.6em; 27 vertical-align: middle; 28 } 29 </style> 30 <link rel="stylesheet" href="style.css" /> 31 </head> 32 <body> 33 <h1 id="my-ideal-vcs">My Ideal VCS</h1> 34 <p>These are some things I want from a VCS and how I would implement that.</p> 35 <ul> 36 <li>Patch based</li> 37 <li>Simple to use</li> 38 <li>Simple to understand</li> 39 <li>Minimal code</li> 40 <li>Written in C</li> 41 </ul> 42 <p>Most of the complexty from VCSs iss how they manage the resolution of conflicting changes. As such, I’d rather not implement that. This should be left as a job for either a) the editor/IDE or b) the humans responsible for the changes.</p> 43 <p>I get concerned by automatic merge conflict resolutions because changes within given file that act upon similar lines of code can often cause unexpected side effects when they are reliant upon the same variables in code. Given this, a human must be in the loop when resolving these conflicts, unless an exceptionally sophisticated VCS uses ASTs to determine if there is interdependence between the code. As such, I’d like my VCS to see when there are changes from differing patches on the same files and inform the use about this. These conflicts should then be resolved by a subsequent patch that combines the prior two patches into one.</p> 44 </body> 45 </html>