We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 583c6a2 + ef4fe56 commit a12bfb2Copy full SHA for a12bfb2
1 file changed
connect.c
@@ -71,7 +71,7 @@ static void parse_one_symref_info(struct string_list *symref, const char *val, i
71
check_refname_format(target, REFNAME_ALLOW_ONELEVEL))
72
/* "symref=bogus:pair */
73
goto reject;
74
- item = string_list_append(symref, sym);
+ item = string_list_append_nodup(symref, sym);
75
item->util = target;
76
return;
77
reject:
0 commit comments