* Check for reachability of a remote-tracking * ref in the reflog entries of its local ref. */
| 2805 | * ref in the reflog entries of its local ref. |
| 2806 | */ |
| 2807 | static void check_if_includes_upstream(struct ref *remote) |
| 2808 | { |
| 2809 | struct ref *local = get_local_ref(remote->name); |
| 2810 | if (!local) |
| 2811 | return; |
| 2812 | |
| 2813 | if (is_reachable_in_reflog(local->name, remote) <= 0) |
| 2814 | remote->unreachable = 1; |
| 2815 | free_one_ref(local); |
| 2816 | } |
| 2817 | |
| 2818 | static void apply_cas(struct push_cas_option *cas, |
| 2819 | struct remote *remote, |
no test coverage detected