From a2a25c9532e143f39de3925791cad4c896bb36bc Mon Sep 17 00:00:00 2001 From: Robert Holak Date: Tue, 17 Apr 2018 14:02:35 -0500 Subject: [PATCH] Fix awk parser to set correct variable. The awk json parsing routine was setting a variable of "description" instead of "info". This was causing a problem where the cached index - and subsequently ls-remote commands - to show the "%info" format item as the URL again. --- fisher.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fisher.fish b/fisher.fish index 3ff96ca..62d478b 100644 --- a/fisher.fish +++ b/fisher.fish @@ -1171,7 +1171,7 @@ function __fisher_remote_index_update } if (match($0, /^description:[[:blank:]]*/)) { - description = substr($0, RLENGTH+1) + info = substr($0, RLENGTH+1) } if (match($0, /^stargazers_count:[[:blank:]]*/)) {