Thread (16 messages) 16 messages, 3 authors, 2019-04-15

Re: [PATCH v6 1/6] Move init_skiplist() outside of fsck

From: Barret Rhoden <hidden>
Date: 2019-04-15 13:32:11

On 4/10/19 3:04 PM, Ævar Arnfjörð Bjarmason wrote:
On Wed, Apr 10 2019, Barret Rhoden wrote:
quoted
init_skiplist() took a file consisting of SHA-1s and comments and added
the objects to an oidset.  This functionality is useful for other
commands.
This change would be much easier to review if you led with a commit
where you s/Invalid SHA-1/invalid object name/ (lower-case while we're
at it), s/skip list/object name/ etc, and did that rename of the "hash"
to "name" variable if you're so inclined.

Then you'd end up with a small refactoring change that changes the tests
(or even just make the tests grep for e.g. "Could not open.*:
does-not-exist" instead), and the moving of the function would be
entirely caught by the rename detection.
Can do.  I'll split this up in the next round.

Thanks,

Barret

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help