Code

Use a common function to get the pretty name of refs
authorDaniel Barkalow <barkalow@iabervon.org>
Mon, 9 Mar 2009 01:06:05 +0000 (21:06 -0400)
committerJunio C Hamano <gitster@pobox.com>
Mon, 9 Mar 2009 22:41:16 +0000 (15:41 -0700)
commita9c37a72c4fbc8537de294d66b05bdfd7f9a4016
tree117ca075b1b84094aaabc9e4145434868ab43228
parent8321c56b6bae25a2d70790f452df894be536b32c
Use a common function to get the pretty name of refs

The result should be consistent between fetch and push, so we ought to
use the same code in both cases, even though it's short.

Signed-off-by: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-fetch.c
builtin-send-pack.c
refs.c
refs.h