aboutsummaryrefslogtreecommitdiff
path: root/remote.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2026-01-20 13:35:47 -0800
committerJunio C Hamano <gitster@pobox.com>2026-01-20 13:35:47 -0800
commit2aa9b75b4319f94c3bf23c52ca704e010fc86e48 (patch)
tree10901a107ad8c4614a9d04b40200981cfb583685 /remote.h
parent68cb7f9e92a5d8e9824f5b52ac3d0a9d8f653dbe (diff)
parentd79fff4a11a527f57516c62fe00777852bab719a (diff)
downloadgit-2aa9b75b4319f94c3bf23c52ca704e010fc86e48.tar.xz
Merge branch 'jk/remote-tracking-ref-leakfix' into hn/status-compare-with-push
* jk/remote-tracking-ref-leakfix: remote: always allocate branch.push_tracking_ref remote: fix leak in branch_get_push_1() with invalid "simple" config remote: drop const return of tracking_for_push_dest() remote: return non-const pointer from error_buf()
Diffstat (limited to 'remote.h')
-rw-r--r--remote.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/remote.h b/remote.h
index 0ca399e183..fc052945ee 100644
--- a/remote.h
+++ b/remote.h
@@ -331,7 +331,7 @@ struct branch {
int merge_alloc;
- const char *push_tracking_ref;
+ char *push_tracking_ref;
};
struct branch *branch_get(const char *name);