This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.Git.
Summary
Get changed files from certain commit id up to current.
Syntax
public static ICollection<GitDiffFile> GitDiff(this ICakeContext context, DirectoryPath repositoryDirectoryPath, string sinceCommitId, string toCommitId)
Examples
var result = GitDiff("c:/temp/cake", "since commit id", "to commit id");
Attributes
Type |
Description |
CakeMethodAliasAttribute |
|
CakeAliasCategoryAttribute |
|
Parameters
Name |
Type |
Description |
context |
ICakeContext |
The context. |
repositoryDirectoryPath |
DirectoryPath |
Path to repository. |
sinceCommitId |
string |
Commit id to start fetching from. |
toCommitId |
string |
The commit id to compare to. |
Return Value
Type |
Description |
ICollection<GitDiffFile> |
The path to the created repository. |