When you switch branches, certain files may not be in the new branch. But if emacs is showing 2 buffers, the magit status buffer and another buffer and you switch branches, ideally the buffer should be killed if its file is not present in the new branch.
