private static void UpdateDiffPanel()
        {
            var fileList = new List <VCFile>();

            foreach (var file in mWorkingTree.Values)
            {
                if (file.selected)
                {
                    fileList.Add(file);
                }
            }

            if (fileList.Count > 0)
            {
                VersionControl.GetDiff(OnGetDiff, fileList.ToArray());
            }
        }