Skip to content

Comment on Happiness is a freshly organized codebaseparent

Comments

On codebases that have had this sort of mass file-moving, one tactic I've used is keeping a link to the commit prior to the file-moving. Then I can check out that version, manually browse to the file's prior location, and use git blame. It's manual and tedious, but it works.

Perhaps one mitigation could be to include a message describing something like this in the git commit for the mass-move.

can you actually make a symlink to a commit in .git/ ? neat...

You can in mercurial. Should you... different question.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.