commit 908439393effebf944461dc222b25d99e62d05f5 from: Omar Polo date: Sat Feb 04 14:01:14 2023 UTC keep the id algo commit - 328dced4dbb88dad76d7c9ef102057498e2b2ace commit + 908439393effebf944461dc222b25d99e62d05f5 blob - 1f932f79a0cd132c97e0fae7a01a281cb9af043f blob + 79eb9116f97c5351fb550525e0bbaac32aa1ced3 --- lib/worktree.c +++ lib/worktree.c @@ -1721,6 +1721,7 @@ get_file_status(unsigned char *status, struct stat *sb memcpy(id.hash, ie->staged_blob_hash, sizeof(id.hash)); else memcpy(id.hash, ie->blob_hash, sizeof(id.hash)); + id.algo = got_repo_get_hash_algorithm(repo); fd1 = got_opentempfd(); if (fd1 == -1) {