From: Michael J Gruber <git@drmicha.warpmail.net>
To: "Nguyễn Thái Ngọc Duy" <pclouds@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: [PATCH] branch: only print upstream relationship with -v -v
Date: Wed, 17 Mar 2010 17:21:18 +0100 [thread overview]
Message-ID: <4BA1017E.1010404@drmicha.warpmail.net> (raw)
In-Reply-To: <1268838344-8581-1-git-send-email-pclouds@gmail.com>
Nguyễn Thái Ngọc Duy venit, vidit, dixit 17.03.2010 16:05:
> "git branch -v" is unusable for me because it's too slow. After this
> patch:
>
> pclouds@do ~/w/git $ time ./git branch -v > /dev/null
> real 0m0.016s
> user 0m0.011s
> sys 0m0.004s
>
> pclouds@do ~/w/git $ time ./git branch -v -v > /dev/null
> real 0m8.960s
> user 0m8.854s
> sys 0m0.029s
>
Well, but also, after your patch the old output format of "git branch
-v" is not available any more at all! I mean, what is wrong with
git log --oneline --no-walk --branches --decorate
or
git rev-list --oneline --no-walk --branches
depending on what it is that you're really after? (Not to mention
for-each-ref.)
Michael
next prev parent reply other threads:[~2010-03-17 16:36 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-03-17 15:05 [PATCH] branch: only print upstream relationship with -v -v Nguyễn Thái Ngọc Duy
2010-03-17 16:21 ` Michael J Gruber [this message]
2010-03-17 16:53 ` Junio C Hamano
2010-03-18 0:06 ` Nguyen Thai Ngoc Duy
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4BA1017E.1010404@drmicha.warpmail.net \
--to=git@drmicha.warpmail.net \
--cc=git@vger.kernel.org \
--cc=pclouds@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).