doc: fix xref link from api docs to manual pages
[gitweb.git] / bundle.c
index 6c4695eb9103efe3e825ce20303bd220bc6f8827..27ab32e431660a217d5dce50fe5b5b91888b5908 100644 (file)
--- a/bundle.c
+++ b/bundle.c
@@ -289,7 +289,7 @@ int create_bundle(struct bundle_header *header, const char *path,
        argc = setup_revisions(argc, argv, &revs, NULL);
 
        if (argc > 1)
-               return error("unrecognized argument: %s'", argv[1]);
+               return error("unrecognized argument: %s", argv[1]);
 
        object_array_remove_duplicates(&revs.pending);
 
@@ -304,7 +304,7 @@ int create_bundle(struct bundle_header *header, const char *path,
                        continue;
                if (dwim_ref(e->name, strlen(e->name), sha1, &ref) != 1)
                        continue;
-               if (!resolve_ref(e->name, sha1, 1, &flag))
+               if (read_ref_full(e->name, sha1, 1, &flag))
                        flag = 0;
                display_ref = (flag & REF_ISSYMREF) ? e->name : ref;