Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'line-log.h')
-rw-r--r--line-log.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/line-log.h b/line-log.h
index 9acd12361a..8bea45fd78 100644
--- a/line-log.h
+++ b/line-log.h
@@ -26,10 +26,14 @@ struct diff_ranges {
};
/* Linked list of interesting files and their associated ranges. The
- * list must be kept sorted by spec->path */
+ * list must be kept sorted by path.
+ *
+ * For simplicity, even though this is highly redundant, each
+ * line_log_data owns its 'path'.
+ */
struct line_log_data {
struct line_log_data *next;
- struct diff_filespec *spec;
+ char *path;
char status;
struct range_set ranges;
int arg_alloc, arg_nr;