Skip to content

Commit

Permalink
RangeDiff: Cancellation token for Git command
Browse files Browse the repository at this point in the history
  • Loading branch information
gerhardol committed Aug 22, 2021
1 parent d81f70b commit cc16151
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion GitCommands/Git/GitModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2344,7 +2344,8 @@ public async Task<string> GetRangeDiffAsync(
ExecutionResult result = await _gitExecutable.ExecuteAsync(
args,
cache: GitCommandCache,
outputEncoding: LosslessEncoding);
outputEncoding: LosslessEncoding,
cancellationToken: cancellationToken);

return result.StandardOutput;
}
Expand Down

0 comments on commit cc16151

Please sign in to comment.