Fix awk parser to set correct variable. (#419)

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.
This commit is contained in:
Robert Holak 2018-04-17 14:02:35 -05:00 committed by Georgy Yakovlev
parent e37a437e54
commit c9d2f2ba16
No known key found for this signature in database
GPG key ID: E4163190C574654B

View file

@ -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:]]*/)) {