master
41 Bytes
-
Fix segfault when calling git_blame_buffer() · 786b29cb
This change makes sure that the hunk is not null before trying to dereference it. This avoids segfaults, especially when blaming against a modified buffer (i.e. the index). Fixes: #5443
lhchavez committed