Re: [PATCH v2 00/11] Fix direct filesystem access in various test files.

2 messages, 2 authors, 2021-08-02 · open the first message on its own page

Re: [PATCH v2 00/11] Fix direct filesystem access in various test files.

From: Junio C Hamano <hidden>
Date: 2021-07-23 17:44:27

"Han-Wen Nienhuys via GitGitGadget" [off-list ref] writes:
This fixes a few test failures in the reftable series.
The early part is already in 'next', and the new ones looked mostly
good.

I didn't quite understand what was going on with "ls -1" though
(what does it even mean to "ls -1" enumerate only the filenames in
.git/reftable directory)?

Thanks.

Re: [PATCH v2 00/11] Fix direct filesystem access in various test files.

From: Han-Wen Nienhuys <hidden>
Date: 2021-08-02 13:38:30

On Fri, Jul 23, 2021 at 7:44 PM Junio C Hamano [off-list ref] wrote:
"Han-Wen Nienhuys via GitGitGadget" [off-list ref] writes:
quoted
This fixes a few test failures in the reftable series.
The early part is already in 'next', and the new ones looked mostly
good.

I didn't quite understand what was going on with "ls -1" though
(what does it even mean to "ls -1" enumerate only the filenames in
.git/reftable directory)?

By listing the files before and after, we can make sure that the ref
storage wasn't changed.

(perhaps "find -type f" is a better way to do this, though).

-- 
Han-Wen Nienhuys - Google Munich
I work 80%. Don't expect answers from me on Fridays.
--
Google Germany GmbH, Erika-Mann-Strasse 33, 80636 Munich
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Geschäftsführer: Paul Manicle, Halimah DeLaine Prado
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help