Commits

Anonymous committed 3857284 Merge

Merge refs/heads/master from .

  • Participants
  • Parent commits 96fdc21, 5690614
  • Tags v0.99.5

Comments (0)

Files changed (2)

File git-checkout-script

 	fi
 	[ "$branch" ] && ln -sf "refs/heads/$branch" "$GIT_DIR/HEAD"
 	rm -f "$GIT_DIR/MERGE_HEAD"
+else
+	exit 1
 fi
 			char c = n[i];
 			if (prev && prev[i] != c)
 				break;
-			if (c == '*' || c == '?')
+			if (!c || c == '*' || c == '?')
 				break;
 			if (c == '/')
 				len = i+1;