Commit ab91f6b
committed
Merge branch 'rs/diff-parseopts'
The way the diff machinery prepares the options array for the
parse_options API has been refactored to avoid resource leaks.
* rs/diff-parseopts:
diff: remove parseopts member from struct diff_options
diff: use add_diff_options() in diff_opt_parse()
diff: factor out add_diff_options()4 files changed
Lines changed: 11 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
258 | | - | |
259 | | - | |
| 258 | + | |
260 | 259 | | |
261 | 260 | | |
262 | 261 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4615 | 4615 | | |
4616 | 4616 | | |
4617 | 4617 | | |
4618 | | - | |
4619 | | - | |
4620 | 4618 | | |
4621 | 4619 | | |
4622 | 4620 | | |
| |||
4662 | 4660 | | |
4663 | 4661 | | |
4664 | 4662 | | |
4665 | | - | |
4666 | | - | |
4667 | 4663 | | |
4668 | 4664 | | |
4669 | 4665 | | |
| |||
4821 | 4817 | | |
4822 | 4818 | | |
4823 | 4819 | | |
4824 | | - | |
4825 | | - | |
4826 | 4820 | | |
4827 | 4821 | | |
4828 | 4822 | | |
| |||
5419 | 5413 | | |
5420 | 5414 | | |
5421 | 5415 | | |
5422 | | - | |
| 5416 | + | |
| 5417 | + | |
5423 | 5418 | | |
5424 | 5419 | | |
5425 | 5420 | | |
| |||
5689 | 5684 | | |
5690 | 5685 | | |
5691 | 5686 | | |
5692 | | - | |
5693 | | - | |
| 5687 | + | |
5694 | 5688 | | |
5695 | 5689 | | |
5696 | 5690 | | |
5697 | 5691 | | |
5698 | 5692 | | |
| 5693 | + | |
| 5694 | + | |
| 5695 | + | |
5699 | 5696 | | |
5700 | 5697 | | |
5701 | 5698 | | |
5702 | | - | |
| 5699 | + | |
5703 | 5700 | | |
5704 | 5701 | | |
5705 | 5702 | | |
5706 | 5703 | | |
5707 | 5704 | | |
| 5705 | + | |
5708 | 5706 | | |
5709 | 5707 | | |
5710 | 5708 | | |
| |||
6513 | 6511 | | |
6514 | 6512 | | |
6515 | 6513 | | |
6516 | | - | |
6517 | 6514 | | |
6518 | 6515 | | |
6519 | 6516 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
394 | 394 | | |
395 | 395 | | |
396 | 396 | | |
397 | | - | |
398 | 397 | | |
399 | 398 | | |
400 | 399 | | |
| |||
539 | 538 | | |
540 | 539 | | |
541 | 540 | | |
| 541 | + | |
542 | 542 | | |
543 | 543 | | |
544 | 544 | | |
| |||
0 commit comments