Re: [RFC/PATCH] git-fetch: mega-terse fetch output
- From
Andreas Ericsson <ae@op5.se>
- Date
- Oct 19, 2007, 10:40 UTC
- Message-ID
- <47188990.1040606@op5.se>
- In-Reply-To
- <20071019062219.GA28499@coredump.intra.peff.net>
Jeff King wrote:
> - we abbreviate the local refs (chopping refs/heads, > refs/tags, refs/remotes). This means we're losing > information, but hopefully it is obvious when storing > "origin/master" that it is in refs/remotes.
I like this, since "origin/master" is how that branch is supposed to be used.
Show 5 quoted lines
> - fast forward information goes at the end > - cut out "Auto-following ..." text > > What do people think? Some changes? All? >
Possibly re-listing "refused" messages last so users who pull from repos with a huge amount of branches can see it at the bottom.
Show 5 quoted lines
> Other questions: > - Is the "==>" too ugly? It needs to be short (many urls > are almost 80 characters already), and it needs to stand > out from the "resolving deltas" line, so I think some > symbol is reasonable.
Skip the marker altogether and indent the output two spaces.
> - Should we omit "(fast forward)" since it is the usual > case?
I think so, yes, or perhaps just shorten it to 'ff' so the 'refused' and 'merged' messages stand out a bit more.
> - Should refs/remotes/* keep the "remotes/" part?
I think not. It's used as origin/master (by end-users anyways), so writing what they're familiar with is most likely the correct thing to do.
> - How annoying is the doubled '==> $url' line? It comes > from the fact that we fetch the tags separately. >
Fairly annoying. I'd prefer if it was squelched the second time.
-- Andreas Ericsson andreas.ericsson@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231