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 pclo...@gmail.com 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 pclo...@gmail.com --- One of these moments I will make

[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 pclo...@gmail.com --- One of these moments I will make git log and friends optionally recognize Diff-Options:

[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 pclo...@gmail.com --- One of these moments I will make git log and friends optionally recognize Diff-Options: