Re: [PATCH] gpg-interface: fix for gpgsm v2.3
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 3, 2022, 21:38 UTC
- Message-ID
- <xmqqsfszr5q6.fsf@gitster.g>
- In-Reply-To
- <Yfw0kapgSSWO3Pyx@pobox.com>
Todd Zullinger <tmz@pobox.com> writes:
> - ret |= !strstr(gpg_status.buf, "\n[GNUPG:] SIG_CREATED "); > + string_list_split_in_place(&lines, gpg_status.buf, '\n', -1); > + ret |= !unsorted_string_list_has_string(&lines, "[GNUPG:] SIG_CREATED ");
Is "SIG_CREATED " supposed to be at the end of that line? I thought that has_string() asks for an exact match, and unfortunately(?) there is not the string_list_has_string_that_has_this_prefix() function. So...