GitSharp.Core.Transport.WalkFetchConnection.QueueWants C# (CSharp) Method

QueueWants() private method

private QueueWants ( IEnumerable want ) : void
want IEnumerable
return void
        private void QueueWants(IEnumerable<Ref> want)
        {
            var inWorkQueue = new List<ObjectId>();
            foreach (Ref r in want)
            {
                ObjectId id = r.ObjectId;
                try
                {
                    RevObject obj = _revWalk.parseAny(id);
                    if (obj.has(COMPLETE))
                        continue;
                    inWorkQueue.Add(id);
                    obj.add(IN_WORK_QUEUE);
                    _workQueue.AddLast(obj);
                }
                catch (MissingObjectException)
                {
                    inWorkQueue.Add(id);
                    _workQueue.AddLast(id);
                }
                catch (IOException e)
                {
                    throw new TransportException("Cannot Read " + id.Name, e);
                }
            }
        }