aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib.c2
1 files changed, 1 insertions, 1 deletions
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;
}