Example #1
0
        private Commit GetLastCommit(AbstractTreeNode item, Branch branch, Commit commit)
        {
            if (branch != null)
            {
                return(item.GetLastCommit(branch));
            }
            else if (commit != null)
            {
                return(item.GetLastCommitBefore(commit));
            }

            return(null);
        }