summaryrefslogtreecommitdiff
path: root/line-log.h
diff options
context:
space:
mode:
authorSZEDER Gábor <szeder.dev@gmail.com>2020-05-11 11:56:15 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-05-11 16:33:56 (GMT)
commitd5546726fb30b25b48f8475446261f997609ff1b (patch)
tree89f7476295609aa56136f6cb1a44a0f64e64453d /line-log.h
parentb928e488bd40a30797bb7b87733864b39dd32c36 (diff)
downloadgit-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.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/line-log.h b/line-log.h
index 8ee7a2b..882c505 100644
--- a/line-log.h
+++ b/line-log.h
@@ -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;
};