Commit 6a15bc0d authored by Shawn O. Pearce's avatar Shawn O. Pearce Committed by Junio C Hamano

Remove unused remote_prefix member in builtin-remote

Not sure when this became unused, but no code references it,
other than to populate the strbuf with an initial value.
Signed-off-by: default avatarShawn O. Pearce <[email protected]>
Signed-off-by: default avatarJunio C Hamano <[email protected]>
parent d2b3691b
......@@ -206,7 +206,6 @@ static void read_branches(void)
struct ref_states {
struct remote *remote;
struct strbuf remote_prefix;
struct path_list new, stale, tracked;
......@@ -262,8 +261,6 @@ static int get_ref_states(const struct ref *ref, struct ref_states *states)
"refs/remotes/%s/", states->remote->name);
for_each_ref(handle_one_branch, states);
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment