bzr log --short ... is not.

Colin D Bennett colin at gibibit.com
Wed Jun 11 20:53:04 BST 2008


On Wed, 11 Jun 2008 12:58:56 -0500
Russ Brown <pickscrape at gmail.com> wrote:
> John Arbash Meinel wrote:
> > Russ Brown wrote:
> > | John Arbash Meinel wrote:
> > |> Nicholas Allen wrote:
> > |> | I wonder if --mainline or --mainline-only would be a better
> > name for the
> > |> | --short option. --short implies to me that the message is
> > shortened or |> | laid out in a short manner. --mainline clearly
> > indicates that the |> | information you see is only for the
> > mainline and does not include the |> | merged revisions.
> > |> |
> > |> | Nick
> > |
> > |
> > |> True, but it also shortens the rest of the info. The committer
> > and date |> is put
> > |> onto one line, it uses a single whitespace line to separate
> > sections, etc.
> > |
> > |> We *could* cap the commit message, I'm not sure how much would
> > be gained |> by that.
> > |
> > |> John
> > |> =:->
> > |
> > | I follow the convention of all commit comments starting with one
> > brief | line that describes the change. Following that is a more
> > in-depth | overview. I know that others also follow this practice.
> > |
> > | Cutting it at the first linebreak makes a lot of sense in this
> > case. |
> > 
> > Hence we have "bzr log --line".
> > 
> > John
> > =:->
> 
> - --line might be what the OP is actually looking for then?

Yes, I got confused. :-(  Sorry to bother you, I was in a hurry when I
posted the question.  I forgot what --short actually did.


On that topic, it might be nice to have an in-between option, e.g., a
two-line-per revision that uses the first line of the commit message,
like:

 770: Colin D Bennett 2008-06-10
 Completed high resolution TSC timer implementation for x86 arch.

Because often the 'log --line' output truncates the commit message to
such a degree that it is hard to tell what it is and 50% more space
might help.

I'm not asking anyone to do anything, just musing over possible
improvements.  Maybe I'll play with this in my spare time.

Colin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080611/582e0310/attachment.pgp 


More information about the bazaar mailing list