Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
GIT 1.1.5
[gitweb.git]
/
fetch-pack.c
diff --git
a/fetch-pack.c
b/fetch-pack.c
index d34f322477a9a072da3981c7ba49c87232ed8bc4..27f5d2a5ff78340d791d1162ec07c153740ac2d2 100644
(file)
--- a/
fetch-pack.c
+++ b/
fetch-pack.c
@@
-262,9
+262,6
@@
static void filter_refs(struct ref **refs, int nr_match, char **match)
{
struct ref *prev, *current, *next;
- if (!nr_match)
- return;
-
for (prev = NULL, current = *refs; current; current = next) {
next = current->next;
if ((!memcmp(current->name, "refs/", 5) &&