Re: [PATCH v6 3/8] block alloc: add lifecycle APIs for cache_entry structs From: Duy Nguyen <hidden> Date: 2018-07-22 09:23:51 On Mon, Jul 2, 2018 at 9:49 PM Jameson Miller [off-list ref] wrote:+struct cache_entry *make_transient_cache_entry(unsigned int mode, const struct object_id *oid, + const char *path, int stage) +{ + struct cache_entry *ce; + int len; + + if (!verify_path(path, mode)) { + error("Invalid path '%s'", path); Please wrap all new user-visible strings in _(). + return NULL; + }-- Duy
Keyboard shortcuts hback out one level jnext message in thread kprevious message in thread ldrill in Escclose help / fold thread tree ?toggle this help