diff options
author | Stephan Springl <springl-git@bfw-online.de> | 2007-05-23 12:13:21 +0100 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2007-05-23 11:06:38 -0700 |
commit | 7ca055f75ad7ffd2251d4b607fbb86d7bcfd77c7 (patch) | |
tree | 396a03b46cefebb8a9a1425468877bbaeedd1a92 /ssh-pull.c | |
parent | Merge branch 'maint-1.5.1' into maint (diff) | |
download | tgif-7ca055f75ad7ffd2251d4b607fbb86d7bcfd77c7.tar.xz |
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>
Diffstat (limited to 'ssh-pull.c')
0 files changed, 0 insertions, 0 deletions