]> git.ipfire.org Git - thirdparty/git.git/blobdiff - builtin/notes.c
notes: allow merging from arbitrary references
[thirdparty/git.git] / builtin / notes.c
index 52aa9af74be8d47780d4762185c5cbe09624b382..b16b8b56a0a2291f1a27be8e025ab3773197d77c 100644 (file)
@@ -806,7 +806,7 @@ static int merge(int argc, const char **argv, const char *prefix)
 
        o.local_ref = default_notes_ref();
        strbuf_addstr(&remote_ref, argv[0]);
-       expand_notes_ref(&remote_ref);
+       expand_loose_notes_ref(&remote_ref);
        o.remote_ref = remote_ref.buf;
 
        t = init_notes_check("merge");