Orphaned file detection

This post is published externally at https://medium.com/@MrJamesFisher/orphaned-file-detection-de307d96d5e1external link.

How many old files in your repository could be removed without breaking anything? A significant number, if your repository is non-trivial. Humans are terrible at garbage collection, because orphaning doesn’t break test suites and doesn’t show up in code review. But how about if your CI process was able to tell you: “This commit might have orphaned these files: /src/server/baz.py, /src/client/baz.js”?

Tagged #garbage-collection, #version-control, #programming.

Similar posts

More by Jim

👋 I'm Jim, a full-stack product engineer. Want to build an amazing product and a profitable business? Read more about me or Get in touch!

This page copyright James Fisher 2014. Content is not associated with my employer. Found an error? Edit this page.