4 ms·It's a bug that "git checkout" does not complain in this case. I'll try to fix or report it.by bicolao 8y agoIt's a bug that "git checkout" does not complain in this case. I'll try to fix or report it.dfabulich 8y agoThat bug will never be fixed. https://redfin.engineering/two-commits-that-wrecked-the-user-experience-of-git-f0075b77eab1 https://redfin.engineering/two-commits-that-wrecked-the-user...chopin 8y agoThough I agree with you, a warning could be issued.