Skip to content

Commit d554672

Browse files
szedergitster
authored andcommitted
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 12da1d1 (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>
1 parent b928e48 commit d554672

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

line-log.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,7 @@ void sort_and_merge_range_set(struct range_set *);
4646
struct line_log_data {
4747
struct line_log_data *next;
4848
char *path;
49-
char status;
5049
struct range_set ranges;
51-
int arg_alloc, arg_nr;
52-
const char **args;
5350
struct diff_filepair *pair;
5451
struct diff_ranges diff;
5552
};

0 commit comments

Comments
 (0)