Re: [PATCH] index-pack: do not segfault when keep_name is NULL

2014-03-17 Thread Junio C Hamano
Nguyễn Thái Ngọc Duy writes: > keep_name is used to print error messages a couple lines down. Reset > it to the real path returned by odb_pack_keep() if it's set to NULL by > caller. > > Signed-off-by: Nguyễn Thái Ngọc Duy > --- > One of these moments I will make git log and friends optionally

[PATCH] index-pack: do not segfault when keep_name is NULL

2014-03-16 Thread Nguyễn Thái Ngọc Duy
keep_name is used to print error messages a couple lines down. Reset it to the real path returned by odb_pack_keep() if it's set to NULL by caller. Signed-off-by: Nguyễn Thái Ngọc Duy --- One of these moments I will make git log and friends optionally recognize "Diff-Options:" line in commit me

[PATCH] index-pack: do not segfault when keep_name is NULL

2014-03-16 Thread Nguyễn Thái Ngọc Duy
keep_name is used to print error messages a couple lines down. Reset it to the real path returned by odb_pack_keep() if it's set to NULL by caller. Signed-off-by: Nguyễn Thái Ngọc Duy --- One of these moments I will make git log and friends optionally recognize "Diff-Options:" line in commit me