Skip to content

Commit bd3fb1a

Browse files
committed
fixup! test-read-cache: print cache entries with --table
1 parent 2d0b615 commit bd3fb1a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

t/helper/test-read-cache.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ int cmd__read_cache(int argc, const char **argv)
6262
expand = 1;
6363
}
6464

65-
if (argc == 2)
66-
cnt = strtol(argv[1], NULL, 0);
65+
if (argc == 1)
66+
cnt = strtol(argv[0], NULL, 0);
6767
setup_git_directory();
6868
git_config(git_default_config, NULL);
6969

0 commit comments

Comments
 (0)