Re: [RFC/PATCH] git-fetch: mega-terse fetch output
- From
Nicolas Pitre <nico@cam.org>
- Date
- Oct 19, 2007, 13:05 UTC
- Message-ID
- <alpine.LFD.0.9999.0710190859400.19446@xanadu.home>
- In-Reply-To
- <20071019073938.GN14735@spearce.org>
On Fri, 19 Oct 2007, Shawn O. Pearce wrote:
Show 22 quoted lines
> What about this on top of Jeff's patch? > > $ git fetch jc > ... > ==> git://repo.or.cz/alt-git.git > * tag junio-gpg-pub ......................... (new) > * tag v1.5.0 .......................... (tag moved) > > $ git fetch me > ... > ==> git://repo.or.cz/git/spearce.git > * branch gitk -> spearce/gitk ............... (new) > * branch maint -> spearce/maint > * branch master -> spearce/master > * branch next -> spearce/next > * branch pu -> spearce/pu ......... (forced update) > * branch todo -> spearce/todo ............... (new) > > The width of the terminal is computed to produce the ... padding. > I used a very narrow terminal to produce the above so it doesn't > linewrap badly in email. If we cannot get the terminal width then > we just don't produce the padding.
I like it.
I would change the '*' to a '+' for a forced update (for similarity with the + notation in refspecs), and a '!' instead of a '-' for refused update which might be more indicative of a refusal.
Nicolas