From 3010712ea7ead93eed8a215591164b8eb0b9c9ff Mon Sep 17 00:00:00 2001 From: sandroid Date: Sat, 25 Nov 2023 01:04:52 +0100 Subject: [PATCH] Remove _forgit_extract_sha global variable --- bin/git-forgit | 1 - 1 file changed, 1 deletion(-) diff --git a/bin/git-forgit b/bin/git-forgit index 65eedb5..4231f66 100755 --- a/bin/git-forgit +++ b/bin/git-forgit @@ -75,7 +75,6 @@ _forgit_emojify() { } # extract the first git sha occurring in the input and strip trailing newline -_forgit_extract_sha="grep -Eo '[a-f0-9]+' | head -1 | tr -d '[:space:]'" _forgit_extract_sha() { grep -Eo '[a-f0-9]+' | head -1 | tr -d '[:space:]' }