Re: [PATCH] branch: only print upstream relationship with -v -v
- From
Michael J Gruber <git@drmicha.warpmail.net>
- Date
- Mar 17, 2010, 16:21 UTC
- Message-ID
- <4BA1017E.1010404@drmicha.warpmail.net>
- 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:
Show 13 quoted lines
> "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