diff --git a/lib/kmxgit_web/controllers/repository_controller.ex b/lib/kmxgit_web/controllers/repository_controller.ex
index ae06169..f06c04d 100644
--- a/lib/kmxgit_web/controllers/repository_controller.ex
+++ b/lib/kmxgit_web/controllers/repository_controller.ex
@@ -908,6 +908,7 @@ defmodule KmxgitWeb.RepositoryController do
|> assign(:current_repository, repo)
|> assign(:diff, diff)
|> assign(:diff_line_numbers, diff_line_numbers)
+ |> assign(:git, git)
|> assign(:path, path)
|> assign(:repo, repo)
|> render("commit.html")