unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* vc-git short log format
@ 2011-02-13  5:25 Chong Yidong
  2011-02-13  6:04 ` Miles Bader
  0 siblings, 1 reply; 2+ messages in thread
From: Chong Yidong @ 2011-02-13  5:25 UTC (permalink / raw)
  To: emacs-devel

vc-git sets log-view-message-re, for short logs, to

   "^\\(?:[*/\\| ]+ \\)?\\(?: ([^)]+)\\)?\\([0-9a-z]+\\)

Anyone know what the initial [*/\\| ] grouping is for?  I've only ever
seen git provide * at the start of each short log entry.  I've not seen
it print any of [/\\| ], or omit the asterisk entirely; when does that
happen?

(Asking because I'm working on toggling between short and long vc-log
entries, and it would be awfully convenient if I could just distinguish
expanded entries by indenting them.)



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: vc-git short log format
  2011-02-13  5:25 vc-git short log format Chong Yidong
@ 2011-02-13  6:04 ` Miles Bader
  0 siblings, 0 replies; 2+ messages in thread
From: Miles Bader @ 2011-02-13  6:04 UTC (permalink / raw)
  To: Chong Yidong; +Cc: emacs-devel

Chong Yidong <cyd@stupidchicken.com> writes:

> vc-git sets log-view-message-re, for short logs, to
>
>    "^\\(?:[*/\\| ]+ \\)?\\(?: ([^)]+)\\)?\\([0-9a-z]+\\)
>
> Anyone know what the initial [*/\\| ] grouping is for?  I've only ever
> seen git provide * at the start of each short log entry.  I've not seen
> it print any of [/\\| ], or omit the asterisk entirely; when does that
> happen?
>
> (Asking because I'm working on toggling between short and long vc-log
> entries, and it would be awfully convenient if I could just distinguish
> expanded entries by indenting them.)

For branching I presume, e.g. from the Emacs repo:

...
* a176f79  2011-01-22  Update configure
* cc62ed3  2011-01-22  configure.in: Don't zero-out FONTCONFIG_CFLAGS and FONTCONFIG_LIBS when building with XFT (doing so is incorrect, as Emacs directly uses fontconfig, and breaks building when using a strict linker).
* c1c7cc4  2011-01-21  Add pcomplete support for hosts defined in .ssh/config.
*   16ea2fd  2011-01-21  Merge: src/config.in: shrink slightly
|\  
| * 95d0549  2011-01-21  src/config.in: shrink slightly
* | 06f3ebc  2011-01-21  gnus-art.el (gnus-mime-display-single): Use mm-display-inline rather than mm-insert-inline.
|/  
* 95b29e3  2011-01-21  aclocal.m4: tweaks to regenerate more conveniently
* b2caa9a  2011-01-21  * gnus-art.el (gnus-button-alist, gnus-button-handle-info-keystrokes): Don't confuse the "ret" of "retrograde" with RET.
...

-miles

-- 
The car has become... an article of dress without which we feel uncertain,
unclad, and incomplete.  [Marshall McLuhan, Understanding Media, 1964]



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-02-13  6:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-13  5:25 vc-git short log format Chong Yidong
2011-02-13  6:04 ` Miles Bader

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).