mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-12 04:45:47 +02:00
use log instead of diff for now
This commit is contained in:
parent
08174ca848
commit
43f0cf42e6
1 changed files with 3 additions and 1 deletions
|
@ -267,7 +267,9 @@ func sublimeOpenFile(filename string) (string, error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func getBranchDiff(branch string, baseBranch 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() {
|
func verifyInGitRepo() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue