]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/stash.c
cocci: apply the "refs.h" part of "the_repository.pending"
[thirdparty/git.git] / builtin / stash.c
index 6c062e5204852755e9f849452eed139f89c9a68b..364273f1012a8cb10936502228f002e49fb2dfa7 100644 (file)
@@ -211,7 +211,8 @@ static int get_stash_info(struct stash_info *info, int argc, const char **argv)
        end_of_rev = strchrnul(revision, '@');
        strbuf_add(&symbolic, revision, end_of_rev - revision);
 
-       ret = dwim_ref(symbolic.buf, symbolic.len, &dummy, &expanded_ref, 0);
+       ret = repo_dwim_ref(the_repository, symbolic.buf, symbolic.len,
+                           &dummy, &expanded_ref, 0);
        strbuf_release(&symbolic);
        switch (ret) {
        case 0: /* Not found, but valid ref */