git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] git-fetch: more terse fetch output

From
Jeff King <peff@peff.net>
Date
Nov 4, 2007, 04:58 UTC
Message-ID
<20071104045800.GB12359@segfault.peff.net>
In-Reply-To
<alpine.LFD.0.9999.0711030101340.21255@xanadu.home>
On Sat, Nov 03, 2007 at 01:32:48AM -0400, Nicolas Pitre wrote:
> This makes the fetch output much more terse and prettier on a 80 column 
> display, based on a consensus reached on the mailing list.  Here's an 
> example output:
Thank you for this; it was at the end of a very long todo list for me.
Show 10 quoted lines
> Receiving objects: 100% (5439/5439), 1.60 MiB | 636 KiB/s, done.
> Resolving deltas: 100% (4604/4604), done.
> From git://git.kernel.org/pub/scm/git/git
>  ! [rejected]        html -> origin/html  (non fast forward)
>    136e631..f45e867  maint -> origin/maint  (fast forward)
>    9850e2e..44dd7e0  man -> origin/man  (fast forward)
>    3e4bb08..e3d6d56  master -> origin/master  (fast forward)
>    fa3665c..536f64a  next -> origin/next  (fast forward)
>  + 4f6d9d6...768326f pu -> origin/pu  (forced update)
>  * [new branch]      todo -> origin/todo

One nice thing about this format is that it works equally well for "push" (changing "From" to "To" and reversing the order of the branches). Comments?

-Peff
Previous: Steffen ProhaskaNext: Johannes Schindelin
Message 18 of 20 in “git-fetch: more terse fetch output”
  1. git-fetch: more terse fetch outputNicolas Pitre, Nov 3, 2007
  2. Junio C HamanoNov 3, 2007
  3. Linus TorvaldsNov 3, 2007
  4. Nicolas PitreNov 3, 2007
  5. Mike HommeyNov 3, 2007
  6. Nicolas PitreNov 3, 2007
  7. Mike HommeyNov 3, 2007
  8. Pierre HabouzitNov 3, 2007
  9. Jakub NarebskiNov 3, 2007
  10. Linus TorvaldsNov 3, 2007
  11. Mike HommeyNov 3, 2007
  12. Johannes SchindelinNov 4, 2007
  13. Junio C HamanoNov 4, 2007
  14. David BrownNov 4, 2007
  15. Robin RosenbergNov 4, 2007
  16. Linus TorvaldsNov 3, 2007
  17. Steffen ProhaskaNov 4, 2007
  18. Jeff KingNov 4, 2007
  19. Johannes SchindelinNov 4, 2007
  20. Pierre HabouzitNov 4, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.