On 08/30/2013 12:49 PM, Denys Vlasenko wrote:
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?
- I think it's scanning all the directories anyway, because it needs to
read the "time" element.
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.
NACK, please try a bit harder, this is not a good fix, it's just hiding
the problem. how about having and id for problems based on some
autoincremented value stored in /var/tmp/abrt?
Signed-off-by: Denys Vlasenko <dvlasenk(a)redhat.com>
---
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");