| 2852 | } |
| 2853 | |
| 2854 | void apply_push_cas(struct push_cas_option *cas, |
| 2855 | struct remote *remote, |
| 2856 | struct ref *remote_refs) |
| 2857 | { |
| 2858 | struct ref *ref; |
| 2859 | for (ref = remote_refs; ref; ref = ref->next) { |
| 2860 | apply_cas(cas, remote, ref); |
| 2861 | |
| 2862 | /* |
| 2863 | * If "compare-and-swap" is in "use_tracking[_for_rest]" |
| 2864 | * mode, and if "--force-if-includes" was specified, run |
| 2865 | * the check. |
| 2866 | */ |
| 2867 | if (ref->check_reachable) |
| 2868 | check_if_includes_upstream(ref); |
| 2869 | } |
| 2870 | } |
| 2871 | |
| 2872 | struct remote_state *remote_state_new(void) |
| 2873 | { |
no test coverage detected