carry() публичный Метод

Carry a RevFlag set on this commit to its parents. If this commit is parsed, has parents, and has the supplied flag set on it we automatically add it to the parents, grand-parents, and so on until an unparsed commit or a commit with no parents is discovered. This permits applications to force a flag through the history chain when necessary.
public carry ( GitSharp.Core.RevWalk.RevFlag flag ) : void
flag GitSharp.Core.RevWalk.RevFlag /// The single flag value to carry back onto parents. ///
Результат void
Пример #1
0
 private void PushLocalCommit(RevCommit p)
 {
     if (p.has(LOCALLY_SEEN)) return;
     _revWalk.parseHeaders(p);
     p.add(LOCALLY_SEEN);
     p.add(COMPLETE);
     p.carry(COMPLETE);
     p.DisposeBody();
     _localCommitQueue.add(p);
 }