line-log: remove unused fields from 'struct line_log_data'
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>
SZEDER Gábor committed
May 11, 2020 at 11:56 UTC
d5546726fb30b25b48f8475446261f997609ff1b
1 file changed
-3
line-log.h
-3
@@ -46,10 +46,7 @@ void sort_and_merge_range_set(struct range_set *);
46
struct line_log_data {
47
struct line_log_data *next;
48
char *path;
49
- char status;
49
struct range_set ranges;
51
- int arg_alloc, arg_nr;
52
- const char **args;
50
struct diff_filepair *pair;
51
struct diff_ranges diff;
52
};