t / t4101 / diff.1-0on commit checkout: Don't crash when switching away from an invalid branch. (323e00f)
   1--- a/frotz
   2+++ b/frotz
   3@@ -1,3 +1,2 @@
   4 a
   5 b
   6-c