diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-07-23 12:13:48 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-07-23 21:56:07 -0700 |
commit | 7e9ff00bbe1f437ff492a714758a4f7360feb22b (patch) | |
tree | 5df9e8223f0d8e5b7ac7ebca5d61ef47583fbbe9 /cache-tree.c | |
parent | git branch: avoid unnecessary object lookups (diff) | |
download | tgif-7e9ff00bbe1f437ff492a714758a4f7360feb22b.tar.xz |
git branch: clean up detached branch handling
Make the 'show detached branch info' a routine of its own. And in the
process, avoid the object lookup that is unnecessary if the current
branch isn't detached.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache-tree.c')
0 files changed, 0 insertions, 0 deletions