line-log: remove unused fields from 'struct line_log_data'
authorSZEDER Gábor <redacted>
Mon, 11 May 2020 11:56:15 +0000 (11:56 +0000)
committerJunio C Hamano <redacted>
Mon, 11 May 2020 16:33:56 +0000 (09:33 -0700)
Remove the unused fields 'status', 'arg_alloc', 'arg_nr' and 'args'
from 'struct line_log_data'.  They were already part of the struct
when it was introduced in commit 12da1d1f6 (Implement line-history
search (git log -L), 2013-03-28), but as far as I can tell none of
them have ever been actually used.

Signed-off-by: SZEDER Gábor <redacted>
Signed-off-by: Derrick Stolee <redacted>
Signed-off-by: Junio C Hamano <redacted>
line-log.h

index 8ee7a2bd4a1866be85d1cbe412be83fcbc5cc42a..882c5055bb800175d4184c79489de66947cba10c 100644 (file)
@@ -46,10 +46,7 @@ void sort_and_merge_range_set(struct range_set *);
 struct line_log_data {
        struct line_log_data *next;
        char *path;
-       char status;
        struct range_set ranges;
-       int arg_alloc, arg_nr;
-       const char **args;
        struct diff_filepair *pair;
        struct diff_ranges diff;
 };
git clone https://git.99rst.org/PROJECT