예제 #1
0
 ///	<summary>
 /// Create a checkout class for merging and checking our two trees and the index.
 ///	</summary>
 ///	<param name="repo"> </param>
 ///	<param name="root"> workdir </param>
 ///	<param name="head"> </param>
 ///	<param name="index"> </param>
 ///	<param name="merge"> </param>
 public WorkDirCheckout(Repository repo, DirectoryInfo root, Core.Tree head, GitIndex index, Core.Tree merge)
     : this(repo, root, index, merge)
 {
     this._head = head;
 }
예제 #2
0
 // Methods
 public IndexTreeWalker(GitIndex index, Tree mainTree, FileSystemInfo root, IndexTreeVisitor visitor)
     : this(index, mainTree, null, root, visitor)
 {
 }
예제 #3
0
 internal WorkDirCheckout(Repository repo, DirectoryInfo workDir, GitIndex oldIndex, GitIndex newIndex)
     : this()
 {
     _repo  = repo;
     _root  = workDir;
     _index = oldIndex;
     _merge = repo.MapTree(newIndex.writeTree());
 }