Add "--branches", "--tags" and "--remotes" options to git-rev-parse.
authorSean <seanlkml@sympatico.ca>
Sun, 14 May 2006 01:43:00 +0000 (21:43 -0400)
committerJunio C Hamano <junkio@cox.net>
Sun, 14 May 2006 23:21:02 +0000 (16:21 -0700)
commita62be77f5ebdbbd46d6956dc4d07571835588389
tree7865bc748d628ae786951067568281fc5b7158dd
parent975bf9cf5ad5d440f98f464ae8124609a4835ce1
Add "--branches", "--tags" and "--remotes" options to git-rev-parse.

"git branch" uses "rev-parse --all" and becomes much too slow when
there are many tags (it scans all refs).  Use the new "--branches"
option of rev-parse to speed things up.

Signed-off-by: Sean Estabrooks <seanlkml@sympatico.ca>
Signed-off-by: Junio C Hamano <junkio@cox.net>
Documentation/git-rev-parse.txt
git-branch.sh
refs.c
refs.h
rev-parse.c