public GitCommitService(
     IGitCmdService gitCmdService,
     IGitDiffService gitDiffService,
     IGitLogService gitLogService,
     IWorkingFolder workingFolder)
 {
     this.gitCmdService  = gitCmdService;
     this.gitDiffService = gitDiffService;
     this.gitLogService  = gitLogService;
     this.workingFolder  = workingFolder;
 }
Exemple #2
0
 public GitBranchDiffController(
     IGitRepositoryFactory gitRepositoryFactory,
     IGitDiffService gitBranchDiffService,
     IGitFileService itemIdentityService,
     IGitRepoService gitRepoService)
 {
     this.gitBranchDiffService = gitBranchDiffService;
     this.itemIdentityService  = itemIdentityService;
     this.gitRepoService       = gitRepoService;
     this.gitRepositoryFactory = gitRepositoryFactory;
 }
Exemple #3
0
 public DiffService(
     WorkingFolder workingFolder,
     IGitDiffService gitDiffService,
     IGitStatusService gitStatusService,
     IGitDiffParser diffParser,
     ICmd cmd)
 {
     this.workingFolder    = workingFolder;
     this.gitDiffService   = gitDiffService;
     this.gitStatusService = gitStatusService;
     this.diffParser       = diffParser;
     this.cmd = cmd;
 }