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

Want to build a fantastic product using LLMs? I work at Granola where we're building the future IDE for knowledge work. Come and work with us! Read more or get in touch!

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