4 ms·
One advantage is that you can view your repo's history as a list of new functions being added/removed/changed instead of just diffs of what lines are removed an
by Scriptor 14y ago
One advantage is that you can view your repo's history as a list of new functions being added/removed/changed instead of just diffs of what lines are removed and added. You could add editor support and look at all previous versions of a specific function you're working on.
More specifically, where git mostly looks at code as a collection of files and differences in individual lines, codeq breaks it down into code as a collection of semantic units (function definitions for clojure, possibly class definitions, methods, etc. if other languages are supported). Your version control system would actually understand if a particular method had been moved from a subclass into a parent class, instead of just considering it as lines being deleted here and added elsewhere.
- drumdance 14y agoGreat explanation. This is one of my biggest frustrations with git.