aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2025-12-30 12:58:21 +0900
committerJunio C Hamano <gitster@pobox.com>2025-12-30 12:58:21 +0900
commit68dce01807a4b099cb3dc8889a6bcef83618ded6 (patch)
treeb1e77d682d41c49a7db067cca7c8a78cd479bc96
parent2365d4f612124098f14220debdb66cdb89524a70 (diff)
parent12f0be085701472f634a71ffe1416334c4869267 (diff)
downloadgit-68dce01807a4b099cb3dc8889a6bcef83618ded6.tar.xz
Merge branch 'gf/clear-path-cache-cleanup'
Code clean-up. * gf/clear-path-cache-cleanup: repository: remove duplicate free of cache->squash_msg
-rw-r--r--repository.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/repository.c b/repository.c
index 863f24411b..c7e75215ac 100644
--- a/repository.c
+++ b/repository.c
@@ -350,7 +350,6 @@ out:
static void repo_clear_path_cache(struct repo_path_cache *cache)
{
FREE_AND_NULL(cache->squash_msg);
- FREE_AND_NULL(cache->squash_msg);
FREE_AND_NULL(cache->merge_msg);
FREE_AND_NULL(cache->merge_rr);
FREE_AND_NULL(cache->merge_mode);