magit/magit — comment on commit fe3d63f9e075a7b4de64f385d78d7695f0625c92
File:  line 0
By sigma:

sorry, seems I commented at the wrong place: see my comment on the pull request #294

Yes, one of the issues was that the code was relying on a dynamically bound variable that was not present in every code path (and if nothing else, it was generating a compiler warning :p).
For example, performing a checkout of a new branch with unsaved buffers triggered the issue.