Commit 526182d2 by Jacques Germishuys

Remove logically dead code (we're already asserting)

parent 2136240d
......@@ -1836,7 +1836,7 @@ int git_repository_hashfile(
*/
error = git_path_join_unrooted(
&full_path, path, repo ? git_repository_workdir(repo) : NULL, NULL);
&full_path, path, git_repository_workdir(repo), NULL);
if (error < 0)
return error;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment