diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2008-05-31 23:57:48 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-05-31 23:54:10 -0700 |
commit | 6a15bc0d220cf3b139d80326afa0d70411916aed (patch) | |
tree | 6f6807c78817b157a79a8bd042b6a7fdc44fe6a3 /builtin-remote.c | |
parent | d2b3691b61d516a0ad2bf700a2a5d9113ceff0b1 (diff) | |
download | git-6a15bc0d220cf3b139d80326afa0d70411916aed.tar.gz |
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: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-remote.c')
-rw-r--r-- | builtin-remote.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/builtin-remote.c b/builtin-remote.c index 99a34dfe86..c76fe2e0ed 100644 --- a/builtin-remote.c +++ b/builtin-remote.c @@ -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) } free_refs(fetch_map); - strbuf_addf(&states->remote_prefix, - "refs/remotes/%s/", states->remote->name); for_each_ref(handle_one_branch, states); sort_path_list(&states->stale); |