diff options
| -rw-r--r-- | builtin-ls-remote.c | 4 | 
1 files changed, 0 insertions, 4 deletions
| diff --git a/builtin-ls-remote.c b/builtin-ls-remote.c index 6dd31d1dd6..720280e390 100644 --- a/builtin-ls-remote.c +++ b/builtin-ls-remote.c @@ -94,10 +94,6 @@ int cmd_ls_remote(int argc, const char **argv, const char *prefix)  		transport_set_option(transport, TRANS_OPT_UPLOADPACK, uploadpack);  	ref = transport_get_remote_refs(transport); - -	if (!ref) -		return 1; -  	for ( ; ref; ref = ref->next) {  		if (!check_ref_type(ref, flags))  			continue; | 
