]> git.ipfire.org Git - thirdparty/git.git/blobdiff - bundle.c
The sixth batch
[thirdparty/git.git] / bundle.c
index 8d5936c4212da4cfc3162aec8f83f15318ca002c..95367c2d0a06dd69cc36114ebae5a28aab8a9700 100644 (file)
--- a/bundle.c
+++ b/bundle.c
@@ -271,10 +271,10 @@ int verify_bundle(struct repository *r,
                        list_refs(r, 0, NULL);
                }
 
-               printf_ln("The bundle uses this hash algorithm: %s",
+               printf_ln(_("The bundle uses this hash algorithm: %s"),
                          header->hash_algo->name);
                if (header->filter.choice)
-                       printf_ln("The bundle uses this filter: %s",
+                       printf_ln(_("The bundle uses this filter: %s"),
                                  list_objects_filter_spec(&header->filter));
        }
 cleanup:
@@ -389,7 +389,7 @@ static int write_bundle_refs(int bundle_fd, struct rev_info *revs)
                if (repo_dwim_ref(the_repository, e->name, strlen(e->name),
                                  &oid, &ref, 0) != 1)
                        goto skip_write_ref;
-               if (read_ref_full(e->name, RESOLVE_REF_READING, &oid, &flag))
+               if (refs_read_ref_full(get_main_ref_store(the_repository), e->name, RESOLVE_REF_READING, &oid, &flag))
                        flag = 0;
                display_ref = (flag & REF_ISSYMREF) ? e->name : ref;