public void CheckIsCommitNewer(GitModule submodule) { if (submodule == null || !submodule.ValidWorkingDir()) return; string baseCommit = submodule.GetMergeBase(Commit, OldCommit); IsCommitNewer = baseCommit == OldCommit; }