Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ abstract class NativeGitDiffTask @Inject constructor(
val file: File = diffFile.get().asFile
file.outputStream().use { fileOutputStream ->
project.exec {
it.setCommandLine("git", "diff", "--no-color", "--minimal", targetBranch.get())
it.setCommandLine("git", "diff", "--no-color", "--minimal", "${targetBranch.get()}...")
it.standardOutput = fileOutputStream
it.errorOutput = System.err
}

println("Diff file generated: file://${file.absolutePath}")
Expand Down