Copy and paste code out of the same repository, modifying it slightly? Surely the more appropriate thing to do in most cases it to make that code generic, available as a function, and then call it from the two places that now need it?
It sounds like it is the code review of future commits that needs to be fixed here.
It sounds like it is the code review of future commits that needs to be fixed here.