From 3f4d57bec6e9feac6c3ef7c6379cb71812c24da6 Mon Sep 17 00:00:00 2001 From: bhagwan Date: Tue, 5 Oct 2021 10:48:52 -0700 Subject: [PATCH] removed '--reflog' from commit|bcommit commands --- README.md | 4 ++-- doc/fzf-lua.txt | 4 ++-- lua/fzf-lua/config.lua | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 7e025ed..d93c93b 100644 --- a/README.md +++ b/README.md @@ -367,7 +367,7 @@ require'fzf-lua'.setup { }, commits = { prompt = 'Commits❯ ', - cmd = "git log --pretty=oneline --abbrev-commit --color --reflog", + cmd = "git log --pretty=oneline --abbrev-commit --color", preview = "git show --pretty='%Cred%H%n%Cblue%an%n%Cgreen%s' --color {1}", actions = { ["default"] = actions.git_checkout, @@ -375,7 +375,7 @@ require'fzf-lua'.setup { }, bcommits = { prompt = 'BCommits❯ ', - cmd = "git log --pretty=oneline --abbrev-commit --color --reflog", + cmd = "git log --pretty=oneline --abbrev-commit --color", preview = "git show --pretty='%Cred%H%n%Cblue%an%n%Cgreen%s' --color {1}", actions = { ["default"] = actions.git_buf_edit, diff --git a/doc/fzf-lua.txt b/doc/fzf-lua.txt index cea768a..33875ed 100644 --- a/doc/fzf-lua.txt +++ b/doc/fzf-lua.txt @@ -401,7 +401,7 @@ Consult the list below for available settings: }, commits = { prompt = 'Commits❯ ', - cmd = "git log --pretty=oneline --abbrev-commit --color --reflog", + cmd = "git log --pretty=oneline --abbrev-commit --color", preview = "git show --pretty='%Cred%H%n%Cblue%an%n%Cgreen%s' --color {1}", actions = { ["default"] = actions.git_checkout, @@ -409,7 +409,7 @@ Consult the list below for available settings: }, bcommits = { prompt = 'BCommits❯ ', - cmd = "git log --pretty=oneline --abbrev-commit --color --reflog", + cmd = "git log --pretty=oneline --abbrev-commit --color", preview = "git show --pretty='%Cred%H%n%Cblue%an%n%Cgreen%s' --color {1}", actions = { ["default"] = actions.git_buf_edit, diff --git a/lua/fzf-lua/config.lua b/lua/fzf-lua/config.lua index bc60c2a..dc6ea1d 100644 --- a/lua/fzf-lua/config.lua +++ b/lua/fzf-lua/config.lua @@ -167,7 +167,7 @@ M.globals.git = { }, commits = { prompt = 'Commits> ', - cmd = "git log --pretty=oneline --abbrev-commit --color --reflog", + cmd = "git log --pretty=oneline --abbrev-commit --color", preview = "git show --pretty='%Cred%H%n%Cblue%an%n%Cgreen%s' --color {1}", actions = { ["default"] = actions.git_checkout, @@ -175,7 +175,7 @@ M.globals.git = { }, bcommits = { prompt = 'BCommits> ', - cmd = "git log --pretty=oneline --abbrev-commit --color --reflog", + cmd = "git log --pretty=oneline --abbrev-commit --color", preview = "git show --pretty='%Cred%H%n%Cblue%an%n%Cgreen%s' --color {1}", actions = { ["default"] = actions.git_buf_edit,