diff options
Diffstat (limited to 'tag.c')
| -rw-r--r-- | tag.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -85,7 +85,7 @@ struct object *deref_tag(struct repository *r, struct object *o, const char *war o = NULL; } if (!o && warn) { - if (last_oid && is_promisor_object(last_oid)) + if (last_oid && is_promisor_object(r, last_oid)) return NULL; if (!warnlen) warnlen = strlen(warn); |
