Commit 2d649cc
committed
remote: drop bitfields in git_remote_fetch_options
In attempting to make a clever change that added fetch options as flags,
while keeping ABI and API compatibility, we screwed up. Bitfields in
structs are implementation-specific and are not necessarily ABI
compatible across compilers.
Make `update_fetchhead` a flags value which is weirdly named, but
that's a future problem. This removes the `report_unchanged` option from
API.1 parent e5e233c commit 2d649cc
2 files changed
+3
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
746 | 746 | | |
747 | 747 | | |
748 | 748 | | |
749 | | - | |
750 | | - | |
| 749 | + | |
751 | 750 | | |
752 | 751 | | |
753 | 752 | | |
| |||
790 | 789 | | |
791 | 790 | | |
792 | 791 | | |
793 | | - | |
794 | | - | |
| 792 | + | |
795 | 793 | | |
796 | 794 | | |
797 | 795 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1376 | 1376 | | |
1377 | 1377 | | |
1378 | 1378 | | |
1379 | | - | |
1380 | | - | |
1381 | | - | |
1382 | | - | |
1383 | | - | |
1384 | | - | |
| 1379 | + | |
1385 | 1380 | | |
1386 | 1381 | | |
1387 | 1382 | | |
| |||
0 commit comments