aboutsummaryrefslogtreecommitdiff
path: root/builtin/archive.c
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2011-03-16 02:10:14 -0500
committerJunio C Hamano <gitster@pobox.com>2011-03-16 12:52:15 -0700
commit6e0332ec3ea74e635258a30d360bd2e00a51730e (patch)
tree80a38c518e629e2dbdde4d295b11c7b8f3eea6e5 /builtin/archive.c
parent9cba13ca5d233a4e1a7068f3f5ed5836a081dcc0 (diff)
downloadgit-6e0332ec3ea74e635258a30d360bd2e00a51730e.tar.gz
git-6e0332ec3ea74e635258a30d360bd2e00a51730e.tar.xz
branch: split off function that writes tracking info and commit subject
Introduce a add_verbose_info function that takes care of adding - an abbreviated object name; - a summary of the form [ahead x, behind y] of the relationship to the corresponding upstream branch; - a one line commit subject for the tip commit of a branch, for use in "git branch -v" output. No functional change intended. This just unindents the code a little and makes it easier to skip on first reading. Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/archive.c')
0 files changed, 0 insertions, 0 deletions