forked from tangled.org/core

appview: state: verify if commit is a valid hash before fetching

Fixes a crash when viewing a single commit, and possibly appending something like `.patch` to the end of it. The `result` from the knotserver is nil and then leads to a nil pointer deref later.


Author anirudh.fi
Committer Tangled Date Commit Parent e50e3319
+7
1 changed file
+7
1 changed file