projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
git-send-pack: Fix duplicate refname match
[git.git]
/
send-pack.c
diff --git
a/send-pack.c
b/send-pack.c
index
4c6adab
..
8ff61d1
100644
(file)
--- a/
send-pack.c
+++ b/
send-pack.c
@@
-204,9
+204,6
@@
static int send_pack(int in, int out, int nr_match, char **match)
if (read_ref(name, new_sha1) < 0)
continue;
- if (nr_match && !path_match(name, nr_match, match))
- continue;
-
if (!memcmp(ref->old_sha1, new_sha1, 20)) {
fprintf(stderr, "'%s' unchanged\n", name);
continue;