git ls-remote turns out to be slow, so checking for the local remote branches first to determine if a branch exists upstream. This might not work in all cases (e.g. if a branch was deleted remotely but no fetch happened), but is probably good enough for most cases. Signed-off-by: Julius Härtl <jus@bitgrid.net> |
||
|---|---|---|
| .. | ||
| openingh | ||