You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fixup! Hydrate missing loose objects in check_and_freshen()
If the `read-object` hook is not found, the code currently would fail
with the rather obscure message:
fatal: Out of memory, strdup failed
The reason is because without a check whether the hook was found,
eventually `strvec_push()` would try to call `xstrdup()` with `cmd`
(which is `NULL` if the hook was not found) which would fail and print
that rather misleading message.
Signed-off-by: Johannes Schindelin <[email protected]>
0 commit comments