X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=wt-status.c;h=a798b7ea1eb62d57728995ea12553a5bff17d96b;hb=cca5fa6406046c19ab5a8117fe71bf4402c00d88;hp=29bc64cc0280675065142bac257930904216d415;hpb=34c290a6fc8b1f6705d2646d726df2260927da0f;p=thirdparty%2Fgit.git diff --git a/wt-status.c b/wt-status.c index 29bc64cc02..a798b7ea1e 100644 --- a/wt-status.c +++ b/wt-status.c @@ -1449,7 +1449,7 @@ static void wt_status_get_detached_from(struct wt_status_state *state) return; } - if (dwim_ref(cb.buf.buf, cb.buf.len, oid.hash, &ref) == 1 && + if (dwim_ref(cb.buf.buf, cb.buf.len, &oid, &ref) == 1 && /* sha1 is a commit? match without further lookup */ (!oidcmp(&cb.noid, &oid) || /* perhaps sha1 is a tag, try to dereference to a commit */