Thread (94 messages) 94 messages, 5 authors, 2018-02-26

Re: [PATCH v2 06/14] commit-graph: implement git-commit-graph --read

From: Stefan Beller <hidden>
Date: 2018-01-31 02:22:56

+static void free_commit_graph(struct commit_graph **g)
+{
+       if (!g || !*g)
+               return;
+
+       close_commit_graph(*g);
+
+       free(*g);
+       *g = NULL;
nit: You may want to use FREE_AND_NULL(*g) instead.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help