Jeff King [off-list ref] writes:
On Thu, Aug 25, 2011 at 10:30:17AM +0200, Michael J Gruber wrote:
quoted
- else if (argc == 0)
- return print_ref_list(kinds, detached, verbose, abbrev, with_commit);
+ else if (argc == 0 || (verbose && argc == 1))
+ return print_ref_list(kinds, detached, verbose, abbrev, with_commit, argc ? argv[0] : NULL);
Note that "git tag -l" takes multiple patterns these days (it used to
silently ignore everything after the first one!). "git branch" should
probably do the same.
Agreed.