string_list: Fix argument order for string_list_lookup
[gitweb.git] / builtin / ls-files.c
index c0fbcdcf4f3447c29c4058907ea2e25fa6d225a6..3eeacdc6999249983e68add8a6c5745df90c647b 100644 (file)
@@ -186,7 +186,7 @@ static void show_ru_info(const char *prefix)
 {
        if (!the_index.resolve_undo)
                return;
-       for_each_string_list(show_one_ru, the_index.resolve_undo, NULL);
+       for_each_string_list(the_index.resolve_undo, show_one_ru, NULL);
 }
 
 static void show_files(struct dir_struct *dir, const char *prefix)