Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use git-for-each-ref to check whether the origin branch exists.
This works in repositories that have their refs packed by "git-pack-refs --all --prune" whereas testing the file $git_dir/refs/heads/$opt_o does not. Acked-by: Johannes Schindelin <Johannes.Schindelin@gmx.de> Signed-off-by: Junio C Hamano <junkio@cox.net>
- Loading branch information