GNOME Bugzilla – Bug 780314
commit: Fix invalid assignment from owned expression to unowned variable
Last modified: 2017-06-22 15:48:54 UTC
commit is an unowned parameter of stage_submodule() and be used to keep an owned reference returned by repo.lookup(). gitg/commit/gitg-commit.vala:258.7-258.71: error: Invalid assignment from owned expression to unowned variable commit = repo.lookup<Gitg.Commit>(sub.submodule.get_workdir_id()); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Created attachment 348328 [details] [review] commit: Fix invalid assignment from owned expression to unowned variable commit is an unowned parameter of stage_submodule() and be used to keep an owned reference returned by repo.lookup().
Ping
Review of attachment 348328 [details] [review]: Thanks
Attachment 348328 [details] pushed as 5b195d6 - commit: Fix invalid assignment from owned expression to unowned variable