From 16e61d84ecedda52372c392b49818c68a75cff26 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sun, 22 Aug 2021 13:00:16 -0300 Subject: src/lib.c: Fix logic condition for deciding when to generate tarbalss --- src/lib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib.c') diff --git a/src/lib.c b/src/lib.c index 7813d13..d19f956 100644 --- a/src/lib.c +++ b/src/lib.c @@ -1970,7 +1970,7 @@ static int repo_tarballs_refs_each( const bool is_tag = git_reference_is_tag(ref); const bool is_branch = git_reference_is_branch(ref); - if (!is_branch || !is_tag) { + if (!is_branch && !is_tag) { goto cleanup; } -- cgit v1.2.3