]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/fetch.c
git-fetch: more terse fetch output
authorNicolas Pitre <nico@cam.org>
Sat, 3 Nov 2007 05:32:48 +0000 (01:32 -0400)
committerJunio C Hamano <gitster@pobox.com>
Sat, 3 Nov 2007 05:36:31 +0000 (22:36 -0700)
commit165f390250874b32ed8158150fe49d574297c9f9
tree2005ae5543750790cada93dd41a96522e18aa8f3
parente3d6d56f1c2097f13a427e158638e5e0918e5705
git-fetch: more terse fetch output

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:

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

Some portions of this patch have been extracted from earlier proposals
by Jeff King and Shawn Pearce.

Signed-off-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-fetch.c