Re: [PATCH v3 6/9] Use remote_odb_get_direct() and has_remote_odb()
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- Jul 22, 2018, 09:05 UTC
- Message-ID
- <CACsJy8B+NBgKFZbrN2etgkecv6yH4NGWogVqzK0K=01MSO2naQ@mail.gmail.com>
- In-Reply-To
- <20180713174959.16748-7-chriscool@tuxfamily.org>
On Fri, Jul 13, 2018 at 7:50 PM Christian Couder <christian.couder@gmail.com> wrote:
Show 8 quoted lines
> @@ -477,8 +478,8 @@ static int batch_objects(struct batch_options *opt)
>
> for_each_loose_object(batch_loose_object, &sa, 0);
> for_each_packed_object(batch_packed_object, &sa, 0);
> - if (repository_format_partial_clone)
> - warning("This repository has extensions.partialClone set. Some objects may not be loaded.");
> + if (has_remote_odb())
> + warning("This repository uses an odb. Some objects may not be loaded.");I can see the string is not marked for translation before, but since you're updating it, please consider _() if needed. Maybe also say "remote object database" instead of odb
-- Duy