mirror of
https://github.com/flatpak/flatpak.git
synced 2026-10-01 18:07:54 -04:00
Avoid critical error in remote-info command
Without this patch, the remote-info command will sometimes emit a critical error "g_utf8_strlen: assertion 'p != NULL || max == 0' failed" and print (null) for the "Commit:" field, since the commit doesn't get initialized properly.
This commit is contained in:
500 Internal Server Error
Gitea Version: 1.28.0+dev-477-g8b6ad49a5f