Re: [PATCH v2 5/5] format-patch: pick up branch description when no ref is specified

2013-01-03 Thread Junio C Hamano
Nguyễn Thái Ngọc Duy writes: > We only try to get branch name in "format-patch origin" case or > similar and not "format-patch -22" where HEAD is automatically > added. Without correct branch name, branch description cannot be > added. Make sure we always get branch name. > > Signed-off-by: Nguy

[PATCH v2 5/5] format-patch: pick up branch description when no ref is specified

2013-01-03 Thread Nguyễn Thái Ngọc Duy
We only try to get branch name in "format-patch origin" case or similar and not "format-patch -22" where HEAD is automatically added. Without correct branch name, branch description cannot be added. Make sure we always get branch name. Signed-off-by: Nguyễn Thái Ngọc Duy --- builtin/log.c