Thread (25 messages) flat view 25 messages, 5 authors, 2016-06-16

Re: [PATCH 09/13] refs: introduce an iterator interface

From: Michael Haggerty <hidden>
Date: 2016-06-16 02:19:39

On 05/30/2016 06:57 PM, Ramsay Jones wrote:

On 30/05/16 16:22, Ramsay Jones wrote:
quoted

On 30/05/16 08:55, Michael Haggerty wrote:
[snip]
quoted
 /* Reference is a symbolic reference. */
diff --git a/refs/files-backend.c b/refs/files-backend.c
index 8ab4d5f..dbf1587 100644
--- a/refs/files-backend.c
+++ b/refs/files-backend.c
[...]
+			sort_ref_dir(dir);
do you need to sort here ...
quoted
[...]
+			sort_ref_dir(level->dir);
... given that you sort here?
I had intended to say 'or vice versa' here. When I wrote this, I had not
finished reading this patch (let alone the series). Now, I suspect that
you can simply drop this 'sort_ref_dir()' call site. Unless I've misread
the code, of course! ;-)
Yes, you are right. Thanks for catching this! I'll fix it in v2.

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