Skip to content

Allow nullable head parameter in stash_if_needed()

Newer versions of Vala perform parameter checks in async methods, so Gitg.ActionSupport.stash_if_needed's head param should be Gitg.Ref?.

Related Vala issue: vala#299 (closed)

Fixes the following assertion failure:

(tests/gitg/tests-gitg:2977): gitg-CRITICAL **: 07:44:32.083: gitg_action_support_stash_if_needed: assertion 'head != NULL' failed

Merge request reports