branch: add read_branch_desc() helper function
authorJunio C Hamano <gitster@pobox.com>
Thu, 22 Sep 2011 03:19:38 +0000 (20:19 -0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 5 Oct 2011 21:48:39 +0000 (14:48 -0700)
commit6f9a332144cda5f4d7e6e03c37fb17f8ffac1fe3
tree2da049b07a23b9da75551311d3fd54ddbbb4510c
parent3bcad5a23d7d114f831d7c11c7b29a8052b5a9f8
branch: add read_branch_desc() helper function

This will be used by various callers that make use of the branch
description throughout the system, so that if we need to update
the implementation the callers do not have to be modified.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
branch.c
branch.h