Skip to content

Commit

Permalink
Update git-core to v2.30.0
Browse files Browse the repository at this point in the history
  • Loading branch information
glandium committed Dec 28, 2020
1 parent 8deb730 commit 2db9fad
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion CI/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@


MERCURIAL_VERSION = '5.5.2'
GIT_VERSION = '2.29.2'
GIT_VERSION = '2.30.0'

ALL_MERCURIAL_VERSIONS = (
'1.9.3', '2.0.2', '2.1.2', '2.2.3', '2.3.2', '2.4.2', '2.5.4',
Expand Down
2 changes: 1 addition & 1 deletion git-core
Submodule git-core updated from 898f80 to 71ca53
2 changes: 1 addition & 1 deletion helper/GIT-VERSION.mk
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
GIT_VERSION ?= v2.29.2
GIT_VERSION ?= v2.30.0
WINDOWS_GIT_VERSION ?= $(GIT_VERSION).windows.1
2 changes: 1 addition & 1 deletion helper/cinnabar-fast-import.c
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ static uintmax_t parse_mark_ref(const char *p, char **endptr)
e->pack_id = MAX_PACK_ID;
e->idx.offset = 1;
}
insert_mark(marks, 2, e);
insert_mark(&marks, 2, e);
return 2;
}

Expand Down
8 changes: 4 additions & 4 deletions helper/cinnabar-helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -1978,8 +1978,8 @@ static void do_upgrade(struct string_list *args)
free_tree_buffer(get_commit_tree(manifest_commit));
}
}
hashmap_free_entries(&track.commit_cache, struct oid_map_entry, ent);
hashmap_free_entries(&track.tree_cache, struct oid_map_entry, ent);
hashmap_clear_and_free(&track.commit_cache, struct oid_map_entry, ent);
hashmap_clear_and_free(&track.tree_cache, struct oid_map_entry, ent);
oidset_clear(&track.manifests);
stop_progress(&track.progress);
}
Expand Down Expand Up @@ -2371,7 +2371,7 @@ static void do_reload(struct string_list *args)

oidset_clear(&hg2git_seen);

hashmap_free_entries(&git_tree_cache, struct oid_map_entry, ent);
hashmap_clear_and_free(&git_tree_cache, struct oid_map_entry, ent);
hashmap_init(&git_tree_cache, oid_map_entry_cmp, NULL, 0);

oid_array_clear(&manifest_heads);
Expand Down Expand Up @@ -2574,6 +2574,6 @@ int main(int argc, const char *argv[])
free_notes(&files_meta);

oidset_clear(&hg2git_seen);
hashmap_free_entries(&git_tree_cache, struct oid_map_entry, ent);
hashmap_clear_and_free(&git_tree_cache, struct oid_map_entry, ent);
return 0;
}

0 comments on commit 2db9fad

Please sign in to comment.