示例#1
0
        public void DiffRange_FirstCommit_GetsDiff()
        {
            List <WorkItem> history    = _git.GetHistory(10).OrderBy(i => i.Time).ToList();
            string          youngestId = history[0].ItemId;

            string diff =
                _git.GetDiff(new RevisionRange(youngestId, youngestId));

            Assert.NotNull(diff);
        }