File tree Expand file tree Collapse file tree 2 files changed +24
-1
lines changed
Expand file tree Collapse file tree 2 files changed +24
-1
lines changed Original file line number Diff line number Diff line change 144144 }
145145 },
146146 "groups" : [
147+ [
148+ " annotated" ,
149+ [
150+ " git_annotated_commit_free" ,
151+ " git_annotated_commit_from_fetchhead" ,
152+ " git_annotated_commit_from_ref" ,
153+ " git_annotated_commit_id" ,
154+ " git_annotated_commit_lookup"
155+ ]
156+ ],
147157 [
148158 " odb_object" ,
149159 [
420430 ]
421431 },
422432 "remove" : {
433+ "annotated" : {
434+ "functions" : [
435+ " git_annotated_commit_free" ,
436+ " git_annotated_commit_from_fetchhead" ,
437+ " git_annotated_commit_from_ref" ,
438+ " git_annotated_commit_id" ,
439+ " git_annotated_commit_lookup"
440+ ]
441+ },
423442 "odb" : {
424443 "functions" : [
425444 " git_odb_object_data" ,
Original file line number Diff line number Diff line change @@ -46,7 +46,11 @@ module.exports = function generateJson() {
4646 ! ~ supplement . remove [ groupName ] . functions . indexOf ( fnName ) ;
4747 } ) ;
4848
49- memo [ groupName ] = functionNames ;
49+ // if we have an empty group then just ignore it
50+ if ( functionNames . length ) {
51+ memo [ groupName ] = functionNames ;
52+ }
53+
5054 return memo ;
5155 } , { } ) ;
5256
You can’t perform that action at this time.
0 commit comments