APD.IntegrationTests.VCS.Git.ChangesetRepositorySpecs.QueryChangesetsLog C# (CSharp) Метод

QueryChangesetsLog() защищенный Метод

protected QueryChangesetsLog ( ) : Collection
Результат Collection
        protected Collection<Commit> QueryChangesetsLog()
        {
            _head = _repo.Get<Commit>("HEAD");
            if (changesetsLog == null)
            {
                Collection<Commit> log = new Collection<Commit>();

                foreach (Commit c in _head.Ancestors)
                {
                    log.Add(c);
                }

                changesetsLog = log;
            }
            return changesetsLog;
        }