Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Prevent buffer overflows when path is too long
[gitweb.git]
/
builtin
/
fetch.c
diff --git
a/builtin/fetch.c
b/builtin/fetch.c
index 5ddb9af05c107e09c453e2e4464c1075a9afec14..3d978eb58ec5cc1e2629db10562319c666bc031e 100644
(file)
--- a/
builtin/fetch.c
+++ b/
builtin/fetch.c
@@
-360,9
+360,7
@@
static struct ref *get_ref_map(struct transport *transport,
tail = &rm->next;
}
- ref_remove_duplicates(ref_map);
-
- return ref_map;
+ return ref_remove_duplicates(ref_map);
}
#define STORE_REF_ERROR_OTHER 1