From: Karthik Nayak Date: Mon, 02 Feb 2026 10:03:41 GMT Subject: Re: [PATCH 3/3] wt-status: use hash_algo from local repository instead of global the_hash_algo Message-ID: In-Reply-To: <20260131190106.389289-4-shreyanshpaliwalcmsmn@gmail.com> Shreyansh Paliwal writes: > wt-status.c uses the global the_hash_algo even though a repository > instance is already available via struct repository *r. > > Replace uses of the_hash_algo with the hash algorithm stored in the > associated repository (r->hash_algo). > > This removes another dependency on global state and keeps wt-status > consistent with local repository usage. > One final question is, does this mean we can remove `USE_THE_REPOSITORY_VARIABLE` after these changes? If not, why?