We're preparing to replace our bathroom faucet. We were able to easily disconnect the cold water supply line from the shutoff valve to the faucet by simply loosening the nuts holding it in place. However, when we went to disconnect the hot water supply line, we see that it appears to be built in to the water shut-off valve. We are both new to home improvement, but have done a lot of research and haven't come across anything like this before. What IS this? Is our only option to replace the water shut-off valve entirely?
(Our new faucet has 3/8" water supply lines, otherwise we could reuse the existing supply lines and not worry about the weird shut-off valve)