Remove _forgit_extract_sha global variable

This commit is contained in:
sandroid 2023-11-25 01:04:52 +01:00
parent ce92400d32
commit 3010712ea7
No known key found for this signature in database
GPG key ID: 91418C9982B8B76E

View file

@ -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:]'
}