Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH 1/5] branch: allow pattern arguments

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:51:55

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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help