1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-02-03 13:21:56 +02:00

use log instead of diff for now

This commit is contained in:
Jesse Duffield 2018-06-10 11:36:27 +10:00
parent 08174ca848
commit 43f0cf42e6

View File

@ -267,7 +267,9 @@ func sublimeOpenFile(filename string) (string, error) {
}
func getBranchDiff(branch string, baseBranch string) (string, error) {
return runCommand("git diff --color " + baseBranch + "..." + branch)
return runCommand("git log -p -30 --color --no-merges " + branch)
// return runCommand("git diff --color " + baseBranch + "..." + branch)
}
func verifyInGitRepo() {