commit 8d49203ed72ff99b43c3ca9fe29b9cbb4b7790fe from: Stefan Sperling date: Thu Sep 20 13:07:49 2018 UTC allocate less tips by default in commit graph commit - 0c92744a7b39f92be3b99012f3d7d0ebf0c428fb commit + 8d49203ed72ff99b43c3ca9fe29b9cbb4b7790fe blob - 21160d6ecab774369a461be9b1e6c84aec468ccd blob + c88e30d324f7d9a017f03c1038e42d568b8a9dd7 --- lib/commit_graph.c +++ lib/commit_graph.c @@ -90,7 +90,7 @@ struct got_commit_graph { /* Copy of known branch tips for fetch_commits_from_open_branches(). */ struct got_commit_graph_branch_tip *tips; size_t ntips; -#define GOT_COMMIT_GRAPH_MIN_TIPS 100 /* minimum amount of tips to allocate */ +#define GOT_COMMIT_GRAPH_MIN_TIPS 10 /* minimum amount of tips to allocate */ /* Path of tree entry of interest to the API user. */ char *path;