| 163 | }; |
| 164 | |
| 165 | void update_ref_namespace(enum ref_namespace namespace, char *ref) |
| 166 | { |
| 167 | struct ref_namespace_info *info = &ref_namespace[namespace]; |
| 168 | if (info->ref_updated) |
| 169 | free((char *)info->ref); |
| 170 | info->ref = ref; |
| 171 | info->ref_updated = 1; |
| 172 | } |
| 173 | |
| 174 | /* |
| 175 | * Try to read one refname component from the front of refname. |
no outgoing calls
no test coverage detected