@@ -150,7 +150,7 @@ void test_revwalk_mergebase__multiple_merge_bases(void)
150
150
cl_assert_equal_oid (& expected1 , & result .ids [0 ]);
151
151
cl_assert_equal_oid (& expected2 , & result .ids [1 ]);
152
152
153
- git_oidarray_free (& result );
153
+ git_oidarray_dispose (& result );
154
154
}
155
155
156
156
void test_revwalk_mergebase__multiple_merge_bases_many_commits (void )
@@ -170,7 +170,7 @@ void test_revwalk_mergebase__multiple_merge_bases_many_commits(void)
170
170
cl_assert_equal_oid (& expected1 , & result .ids [0 ]);
171
171
cl_assert_equal_oid (& expected2 , & result .ids [1 ]);
172
172
173
- git_oidarray_free (& result );
173
+ git_oidarray_dispose (& result );
174
174
git__free (input );
175
175
}
176
176
@@ -186,7 +186,7 @@ void test_revwalk_mergebase__no_off_by_one_missing(void)
186
186
static void assert_mergebase_many (const char * expected_sha , int count , ...)
187
187
{
188
188
va_list ap ;
189
- int i ;
189
+ int i ;
190
190
git_oid * oids ;
191
191
git_oid oid , expected ;
192
192
char * partial_oid ;
@@ -376,9 +376,9 @@ void test_revwalk_mergebase__octopus_merge_branch(void)
376
376
* * commit 8496071c1b46c854b31185ea97743be6a8774479
377
377
* Author: Scott Chacon <[email protected] >
378
378
* Date: Sat May 8 16:13:06 2010 -0700
379
- *
379
+ *
380
380
* testing
381
- *
381
+ *
382
382
* * commit 41bc8c69075bbdb46c5c6f0566cc8cc5b46e8bd9
383
383
* | Author: Scott Chacon <[email protected] >
384
384
* | Date: Tue May 11 13:40:41 2010 -0700
@@ -388,7 +388,7 @@ void test_revwalk_mergebase__octopus_merge_branch(void)
388
388
* * commit 5001298e0c09ad9c34e4249bc5801c75e9754fa5
389
389
* Author: Scott Chacon <[email protected] >
390
390
* Date: Tue May 11 13:40:23 2010 -0700
391
- *
391
+ *
392
392
* packed commit one
393
393
*/
394
394
@@ -398,94 +398,94 @@ void test_revwalk_mergebase__octopus_merge_branch(void)
398
398
* |\ Merge: c37a783 2224e19
399
399
* | | Author: Scott J. Goldman <[email protected] >
400
400
* | | Date: Tue Nov 27 20:31:04 2012 -0800
401
- * | |
401
+ * | |
402
402
* | | Merge branch 'first-branch' into second-branch
403
- * | |
403
+ * | |
404
404
* | * commit 2224e191514cb4bd8c566d80dac22dfcb1e9bb83
405
405
* | | Author: Scott J. Goldman <[email protected] >
406
406
* | | Date: Tue Nov 27 20:28:51 2012 -0800
407
- * | |
407
+ * | |
408
408
* | | j
409
- * | |
409
+ * | |
410
410
* | * commit a41a49f8f5cd9b6cb14a076bf8394881ed0b4d19
411
411
* | | Author: Scott J. Goldman <[email protected] >
412
412
* | | Date: Tue Nov 27 20:28:39 2012 -0800
413
- * | |
413
+ * | |
414
414
* | | i
415
- * | |
415
+ * | |
416
416
* | * commit 82bf9a1a10a4b25c1f14c9607b60970705e92545
417
417
* | | Author: Scott J. Goldman <[email protected] >
418
418
* | | Date: Tue Nov 27 20:28:28 2012 -0800
419
- * | |
419
+ * | |
420
420
* | | h
421
- * | |
421
+ * | |
422
422
* * | commit c37a783c20d92ac92362a78a32860f7eebf938ef
423
423
* | | Author: Scott J. Goldman <[email protected] >
424
424
* | | Date: Tue Nov 27 20:30:57 2012 -0800
425
- * | |
425
+ * | |
426
426
* | | n
427
- * | |
427
+ * | |
428
428
* * | commit 8b82fb1794cb1c8c7f172ec730a4c2db0ae3e650
429
429
* | | Author: Scott J. Goldman <[email protected] >
430
430
* | | Date: Tue Nov 27 20:30:43 2012 -0800
431
- * | |
431
+ * | |
432
432
* | | m
433
- * | |
433
+ * | |
434
434
* * | commit 6ab5d28acbf3c3bdff276f7ccfdf29c1520e542f
435
435
* | | Author: Scott J. Goldman <[email protected] >
436
436
* | | Date: Tue Nov 27 20:30:38 2012 -0800
437
- * | |
437
+ * | |
438
438
* | | l
439
- * | |
439
+ * | |
440
440
* * | commit 7b8c336c45fc6895c1c60827260fe5d798e5d247
441
441
* | | Author: Scott J. Goldman <[email protected] >
442
442
* | | Date: Tue Nov 27 20:30:24 2012 -0800
443
- * | |
443
+ * | |
444
444
* | | k
445
- * | |
445
+ * | |
446
446
* | | * commit 1c30b88f5f3ee66d78df6520a7de9e89b890818b
447
447
* | | | Author: Scott J. Goldman <[email protected] >
448
448
* | | | Date: Tue Nov 27 20:28:10 2012 -0800
449
- * | | |
449
+ * | | |
450
450
* | | | e
451
- * | | |
451
+ * | | |
452
452
* | | * commit 42b7311aa626e712891940c1ec5d5cba201946a4
453
453
* | | | Author: Scott J. Goldman <[email protected] >
454
454
* | | | Date: Tue Nov 27 20:28:06 2012 -0800
455
- * | | |
455
+ * | | |
456
456
* | | | d
457
- * | | |
457
+ * | | |
458
458
* | | * commit a953a018c5b10b20c86e69fef55ebc8ad4c5a417
459
459
* | | |\ Merge: bd1732c cdf97fd
460
460
* | | |/ Author: Scott J. Goldman <[email protected] >
461
461
* | |/| Date: Tue Nov 27 20:26:43 2012 -0800
462
- * | | |
462
+ * | | |
463
463
* | | | Merge branch 'first-branch'
464
- * | | |
464
+ * | | |
465
465
* | * | commit cdf97fd3bb48eb3827638bb33d208f5fd32d0aa6
466
466
* | | | Author: Scott J. Goldman <[email protected] >
467
467
* | | | Date: Tue Nov 27 20:24:46 2012 -0800
468
- * | | |
468
+ * | | |
469
469
* | | | g
470
- * | | |
470
+ * | | |
471
471
* | * | commit ef0488f0b722f0be8bcb90a7730ac7efafd1d694
472
472
* | | | Author: Scott J. Goldman <[email protected] >
473
473
* | | | Date: Tue Nov 27 20:24:39 2012 -0800
474
- * | | |
474
+ * | | |
475
475
* | | | f
476
- * | | |
476
+ * | | |
477
477
* | | * commit bd1732c43c68d712ad09e1d872b9be6d4b9efdc4
478
478
* | |/ Author: Scott J. Goldman <[email protected] >
479
479
* | | Date: Tue Nov 27 17:43:58 2012 -0800
480
- * | |
480
+ * | |
481
481
* | | c
482
- * | |
482
+ * | |
483
483
* | * commit 0c8a3f1f3d5f421cf83048c7c73ee3b55a5e0f29
484
484
* |/ Author: Scott J. Goldman <[email protected] >
485
485
* | Date: Tue Nov 27 17:43:48 2012 -0800
486
- * |
486
+ * |
487
487
* | b
488
- * |
488
+ * |
489
489
* * commit 1f4c0311a24b63f6fc209a59a1e404942d4a5006
490
490
* Author: Scott J. Goldman <[email protected] >
491
491
* Date: Tue Nov 27 17:43:41 2012 -0800
@@ -509,6 +509,6 @@ void test_revwalk_mergebase__remove_redundant(void)
509
509
cl_assert_equal_i (1 , result .count );
510
510
cl_assert_equal_oid (& base , & result .ids [0 ]);
511
511
512
- git_oidarray_free (& result );
512
+ git_oidarray_dispose (& result );
513
513
git_repository_free (repo );
514
514
}
0 commit comments