]> git.ipfire.org Git - thirdparty/git.git/commitdiff
line-log: remove unused fields from 'struct line_log_data'
authorSZEDER Gábor <szeder.dev@gmail.com>
Mon, 11 May 2020 11:56:15 +0000 (11:56 +0000)
committerJunio C Hamano <gitster@pobox.com>
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 <szeder.dev@gmail.com>
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
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;
 };