diff options
author | SZEDER Gábor <szeder.dev@gmail.com> | 2020-05-11 11:56:15 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-05-11 16:33:56 (GMT) |
commit | d5546726fb30b25b48f8475446261f997609ff1b (patch) | |
tree | 89f7476295609aa56136f6cb1a44a0f64e64453d /line-log.h | |
parent | b928e488bd40a30797bb7b87733864b39dd32c36 (diff) | |
download | git-d5546726fb30b25b48f8475446261f997609ff1b.zip git-d5546726fb30b25b48f8475446261f997609ff1b.tar.gz git-d5546726fb30b25b48f8475446261f997609ff1b.tar.bz2 |
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>
Diffstat (limited to 'line-log.h')
-rw-r--r-- | line-log.h | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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; }; |