Thread (12 messages) flat view 12 messages, 5 authors, 2016-08-11

Re: [PATCH for "next"] pretty-formats: add 'format:<string>'

From: Han-Wen Nienhuys <hidden>
Date: 2016-06-15 22:42:56

Possibly related (same subject, not in this thread)

Johannes Schindelin escreveu:
With this patch,

$ git show -s \
	--pretty=format:'  Ze komit %h woss%n  dunn buy ze great %an'

shows something like

  Ze komit 04c5c88 woss
  dunn buy ze great Junio C Hamano

The supported placeholders are:
nitpick:

  \n

for newline would be nice. Similar for backslash, formfeed, alarm, etc.

 

-- 
 Han-Wen Nienhuys - hanwen@xs4all.nl - http://www.xs4all.nl/~hanwen
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help