summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2021-07-20 19:17:27 -0400
committerBen Sima <ben@bsima.me>2021-07-20 19:17:27 -0400
commit1ab7c0c79fe808516d112b9b2c143bcea242dcb8 (patch)
treedb8dfdcce284f88a479d41b7285b5782c988f928 /lib
parent296f80d38b50a2149b2a93743e06c9acf03a8f03 (diff)
git scripts: no-show-signature
Diffstat (limited to 'lib')
-rw-r--r--lib/common.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/common.nix b/lib/common.nix
index cbe0d25..95f072f 100644
--- a/lib/common.nix
+++ b/lib/common.nix
@@ -307,7 +307,7 @@ in
is_in_git_repo || return
git branch -a --color=always | grep -v '/HEAD\s' | sort |
fzf-down --ansi --multi --tac --preview-window right:70% \
- --preview 'git log --oneline --graph --date=short --color=always --pretty="format:%C(auto)%cd %h%d %s" $(sed s/^..// <<< {} | cut -d" " -f1) | head -'$LINES |
+ --preview 'git log --no-show-signature --oneline --graph --date=short --color=always --pretty="format:%C(auto)%cd %h%d %s" $(sed s/^..// <<< {} | cut -d" " -f1) | head -'$LINES |
sed 's/^..//' | cut -d' ' -f1 |
sed 's#^remotes/##'
}
@@ -321,7 +321,7 @@ in
_gh() {
is_in_git_repo || return
- git log --date=short --format="%C(green)%C(bold)%cd %C(auto)%h%d %s (%an)" --graph --color=always |
+ git log --no-show-signature --date=short --format="%C(green)%C(bold)%cd %C(auto)%h%d %s (%an)" --graph --color=always |
fzf-down --ansi --no-sort --reverse --multi --bind 'ctrl-s:toggle-sort' \
--header 'Press CTRL-S to toggle sort' \
--preview 'grep -o "[a-f0-9]\{7,\}" <<< {} | xargs git show --color=always | head -'$LINES |
@@ -332,7 +332,7 @@ in
is_in_git_repo || return
git remote -v | awk '{print $1 "\t" $2}' | uniq |
fzf-down --tac \
- --preview 'git log --oneline --graph --date=short --pretty="format:%C(auto)%cd %h%d %s" {1} | head -200' |
+ --preview 'git log --no-show-signature --oneline --graph --date=short --pretty="format:%C(auto)%cd %h%d %s" {1} | head -200' |
cut -d$'\t' -f1
}
bind '"\er": redraw-current-line'