Thread (28 messages) flat view 28 messages, 6 authors, 2016-06-15

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

From: Jeff King <hidden>
Date: 2016-06-15 22:51:55

Possibly related (same subject, not in this thread)

On Thu, Aug 25, 2011 at 10:30:17AM +0200, Michael J Gruber wrote:
-	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.

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help