Re: [PATCH v2 19/25] refs: add expand_ref()

2016-02-08 Thread Junio C Hamano
Nguyễn Thái Ngọc Duy writes: > This is basically dwim_ref() without @{} support. To be used on the > server side where we want to expand abbreviated to full ref names and > nothing else. It is unclear why we want to have such an expansion on the server, though. That is something this commit ne

[PATCH v2 19/25] refs: add expand_ref()

2016-02-04 Thread Nguyễn Thái Ngọc Duy
This is basically dwim_ref() without @{} support. To be used on the server side where we want to expand abbreviated to full ref names and nothing else. Signed-off-by: Nguyễn Thái Ngọc Duy --- refs.c | 8 +++- refs.h | 1 + 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/refs.c