]> git.pld-linux.org Git - packages/fzf.git/blobdiff - fzf-git-awk.patch
sync fzf-git.sh with upstream and drop awk patch
[packages/fzf.git] / fzf-git-awk.patch
diff --git a/fzf-git-awk.patch b/fzf-git-awk.patch
deleted file mode 100644 (file)
index 213ba37..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- fzf-git.sh.orig    2022-09-06 04:47:02.000000000 +0200
-+++ fzf-git.sh 2022-09-29 02:21:14.222705635 +0200
-@@ -180,7 +180,7 @@
-     --bind 'ctrl-d:execute:grep -o "[a-f0-9]\{7,\}" <<< {} | head -n 1 | xargs git diff > /dev/tty' \
-     --color hl:underline,hl+:underline \
-     --preview 'grep -o "[a-f0-9]\{7,\}" <<< {} | head -n 1 | xargs git show --color=always' "$@" |
--  awk 'match($0, /[a-f0-9]{7,}/) { print substr($0, RSTART, RLENGTH) }'
-+  awk 'match($0, /[a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9][a-f0-9]*/) { print substr($0, RSTART, RLENGTH) }'
- }
- _fzf_git_remotes() {
This page took 0.2252 seconds and 4 git commands to generate.