author | Sean <seanlkml@sympatico.ca> | |
Sun, 14 May 2006 01:43:00 +0000 (21:43 -0400) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 14 May 2006 23:21:02 +0000 (16:21 -0700) | ||
commit | a62be77f5ebdbbd46d6956dc4d07571835588389 | |
tree | 7865bc748d628ae786951067568281fc5b7158dd | tree | snapshot |
parent | 975bf9cf5ad5d440f98f464ae8124609a4835ce1 | commit | diff |
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>
"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 | diff | blob | history | |
git-branch.sh | diff | blob | history | |
refs.c | diff | blob | history | |
refs.h | diff | blob | history | |
rev-parse.c | diff | blob | history |