X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin-update-index.c;h=d1e5cf753963b0cadc8f9ba55179a991cf759dae;hb=7da3bf372cfcd25ea44164afb90c306836b62e23;hp=71cef633c0e36b3a33fa29eccb8579a9304b0777;hpb=e286114d0edbed846149227d48f75338fea760e5;p=git.git diff --git a/builtin-update-index.c b/builtin-update-index.c index 71cef633c..d1e5cf753 100644 --- a/builtin-update-index.c +++ b/builtin-update-index.c @@ -60,7 +60,7 @@ static int mark_valid(const char *path) return -1; } -static int add_file_to_cache(const char *path) +static int process_file(const char *path) { int size, namelen, option, status; struct cache_entry *ce; @@ -210,7 +210,7 @@ static void update_one(const char *path, const char *prefix, int prefix_length) report("remove '%s'", path); goto free_return; } - if (add_file_to_cache(p)) + if (process_file(p)) die("Unable to process file %s", path); report("add '%s'", path); free_return: