Thread (40 messages) flat view 40 messages, 7 authors, 2016-06-15

Re: [RFC PATCH 3/5] stash: Use new %g/%G formats instead of sed

From: Jeff King <hidden>
Date: 2016-06-15 22:47:33

On Mon, Oct 12, 2009 at 11:06:05PM +0200, Thomas Rast wrote:
 list_stash () {
 	have_stash || return 0
-	git log --no-color --pretty=oneline -g "$@" $ref_stash -- |
-	sed -n -e 's/^[.0-9a-f]* refs\///p'
+	git log --format="%g: %G" -g "$@" $ref_stash
You dropped the trailing "--" which is needed for disambiguation.

-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