GitUI.ToolStripGitStatus.update C# (CSharp) Method

update() private method

private update ( ) : void
return void
        private void update()
        {
            if (Environment.TickCount > nextUpdate)
            {
                string command = GitCommands.GitCommands.GetAllChangedFilesCmd(true, true);
                gitGetUnstagedCommand.CmdStartProcess(Settings.GitCommand, command);

                // Always update every 5 min, even if we don't know anything changed
                nextUpdate = Environment.TickCount + MAX_UPDATE_PERIOD;
            }
        }