summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d2b3691)
raw | patch | inline | side by side (parent: d2b3691)
author | Shawn O. Pearce <spearce@spearce.org> | |
Sun, 1 Jun 2008 03:57:48 +0000 (23:57 -0400) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Sun, 1 Jun 2008 06:54:10 +0000 (23:54 -0700) |
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>
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>
builtin-remote.c | patch | blob | history |
diff --git a/builtin-remote.c b/builtin-remote.c
index 99a34dfe86a79df353d3c094cb2ebf71fdca1cc0..c76fe2e0ede09a8b548742b06a8ffd47f9d76db0 100644 (file)
--- a/builtin-remote.c
+++ b/builtin-remote.c
struct ref_states {
struct remote *remote;
- struct strbuf remote_prefix;
struct path_list new, stale, tracked;
};
}
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);