Denys Vlasenko
2013-08-30 10:49:20 UTC
Once upon a time it was meant to allow addressing problems with @N
instead of full name. However, it is problematic - what the numbering
should be if e.g. --since DATE was used? Should we scan all directories
regardless because we want to show the same @N's as in full list?
Same problem with "--full List even reported problems" versus
!--full.
I think git had a right idea: "shortcut" ID should be based on
substring match, not a numbering.
Signed-off-by: Denys Vlasenko <dvlasenk-H+wXaHxf7aLQT0dZR+***@public.gmane.org>
---
src/cli/list.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/cli/list.c b/src/cli/list.c
index 840d621..4ca334f 100644
--- a/src/cli/list.c
+++ b/src/cli/list.c
@@ -82,7 +82,6 @@ static void print_crash_list(vector_of_problem_data_t *crash_list, int detailed,
continue;
}
- printf("@%i\n", i);
print_crash(crash, detailed, text_size);
if (i != crash_list->len - 1)
printf("\n");
instead of full name. However, it is problematic - what the numbering
should be if e.g. --since DATE was used? Should we scan all directories
regardless because we want to show the same @N's as in full list?
Same problem with "--full List even reported problems" versus
!--full.
I think git had a right idea: "shortcut" ID should be based on
substring match, not a numbering.
Signed-off-by: Denys Vlasenko <dvlasenk-H+wXaHxf7aLQT0dZR+***@public.gmane.org>
---
src/cli/list.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/cli/list.c b/src/cli/list.c
index 840d621..4ca334f 100644
--- a/src/cli/list.c
+++ b/src/cli/list.c
@@ -82,7 +82,6 @@ static void print_crash_list(vector_of_problem_data_t *crash_list, int detailed,
continue;
}
- printf("@%i\n", i);
print_crash(crash, detailed, text_size);
if (i != crash_list->len - 1)
printf("\n");
--
1.8.1.4
1.8.1.4