Burnt shifter cable today

When I was a kid living on a farm I did a repair on a melted shifter cable with a piece of scrap copper tubing.
Split it and pinch/closed it over the burnt section. No more problem. Didn't even have to reroute away from header. It was a no money fix. Suited me fine at the time.