Document why we call 'update_diff()' here

https://bugzilla.gnome.org/show_bug.cgi?id=720726
This commit is contained in:
Techlive Zheng 2013-12-10 18:09:32 +08:00
parent 4622d83a28
commit 4c5a2f496b

View file

@ -291,6 +291,8 @@ namespace Gitg
return;
}
// If both `d_diff` and `d_commit` are null, clear
// the diff content
if (d_diff == null && d_commit == null)
{
run_javascript.begin("update_diff();", d_cancellable, (obj, res) => {