summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2021-12-21 11:58:56 -0500
committerBen Sima <ben@bsima.me>2021-12-21 11:59:18 -0500
commitfa734594fe4391835467605d3fdd5248bfe9225e (patch)
tree879f31fb8007504c9d49950a9791dfae7d3c7819
parentfb494f56967029724e851a1d624a68caa51bb20e (diff)
Remove git show signature config
-rw-r--r--lib/common.nix7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/common.nix b/lib/common.nix
index b543385..13ca9ae 100644
--- a/lib/common.nix
+++ b/lib/common.nix
@@ -114,7 +114,6 @@ in
};
log = {
date = "local";
- showSignature = true;
};
};
@@ -285,7 +284,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 --no-show-signature --oneline --graph --date=short --color=always --pretty="format:%C(auto)%cd %h%d %s" $(sed s/^..// <<< {} | cut -d" " -f1) | head -'$LINES |
+ --preview 'git log --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/##'
}
@@ -299,7 +298,7 @@ in
_gh() {
is_in_git_repo || return
- git log --no-show-signature --date=short --format="%C(green)%C(bold)%cd %C(auto)%h%d %s (%an)" --graph --color=always |
+ git log --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 |
@@ -310,7 +309,7 @@ in
is_in_git_repo || return
git remote -v | awk '{print $1 "\t" $2}' | uniq |
fzf-down --tac \
- --preview 'git log --no-show-signature --oneline --graph --date=short --pretty="format:%C(auto)%cd %h%d %s" {1} | head -200' |
+ --preview 'git log --oneline --graph --date=short --pretty="format:%C(auto)%cd %h%d %s" {1} | head -200' |
cut -d$'\t' -f1
}
bind '"\er": redraw-current-line'