We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8be8bde commit 1b7edafCopy full SHA for 1b7edaf
refs.c
@@ -158,13 +158,13 @@ static void free_ref_array(struct ref_array *array)
158
array->refs = NULL;
159
}
160
161
-static void clear_ref_cache(struct ref_cache *ca)
+static void clear_ref_cache(struct ref_cache *refs)
162
{
163
- if (ca->did_loose)
164
- free_ref_array(&ca->loose);
165
- if (ca->did_packed)
166
- free_ref_array(&ca->packed);
167
- ca->did_loose = ca->did_packed = 0;
+ if (refs->did_loose)
+ free_ref_array(&refs->loose);
+ if (refs->did_packed)
+ free_ref_array(&refs->packed);
+ refs->did_loose = refs->did_packed = 0;
168
169
170
static struct ref_cache *create_ref_cache(const char *submodule)
0 commit comments