antis81/libqgit2 — comment on commit d8a967b856b9aa2b23a16f4bc22d9504ac6a9c8e
File: src/qgitcommit.cpp line 34
By ropez:

Yes, thanks, that is a bug. And const_cast is because the argument is a const pointer, and the member variable is a mutable pointer. I've just started working on this, but it's code like this that I'm going to get rid of.