From 10ba2246f9b5285f5118a5ba5be134724af4bbe0 Mon Sep 17 00:00:00 2001 From: Steve Moyer Date: Sun, 25 Sep 2022 08:05:34 -0400 Subject: refactor(git-bug-863): merge ls-id into ls The "ls" command allows filtering and sorting and already features different output formatters. Merging "ls-id" into "ls" cleans up the command hierarchy and allows users to take advantage of these querying features. Resolves #863. --- commands/ls_test.go | 1 + 1 file changed, 1 insertion(+) (limited to 'commands/ls_test.go') diff --git a/commands/ls_test.go b/commands/ls_test.go index 5759f9d0..b53092b4 100644 --- a/commands/ls_test.go +++ b/commands/ls_test.go @@ -61,6 +61,7 @@ $` {"default", "^[0-9a-f]{7}\topen\tthis is a bug title \tJohn Doe \t\n$"}, {"plain", "^[0-9a-f]{7} \\[open\\] this is a bug title\n$"}, {"compact", "^[0-9a-f]{7} open this is a bug title John Doe\n$"}, + {"id", "^[0-9a-f]{7}\n$"}, {"org-mode", expOrgMode}, } -- cgit From 6c9a0d77df0b4155dcf21a54b58442de277d17da Mon Sep 17 00:00:00 2001 From: Steve Moyer Date: Sun, 25 Sep 2022 09:17:32 -0400 Subject: test(863): fix test for full id instead of "human" --- commands/ls_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commands/ls_test.go') diff --git a/commands/ls_test.go b/commands/ls_test.go index b53092b4..22adc1ce 100644 --- a/commands/ls_test.go +++ b/commands/ls_test.go @@ -61,7 +61,7 @@ $` {"default", "^[0-9a-f]{7}\topen\tthis is a bug title \tJohn Doe \t\n$"}, {"plain", "^[0-9a-f]{7} \\[open\\] this is a bug title\n$"}, {"compact", "^[0-9a-f]{7} open this is a bug title John Doe\n$"}, - {"id", "^[0-9a-f]{7}\n$"}, + {"id", "^[0-9a-f]{64}\n$"}, {"org-mode", expOrgMode}, } -- cgit