add_to_index(): convert forgotten HASH_RENORMALIZE check
[gitweb.git] / builtin / add.c
index 0b64bcdebe0f4581953adccf8addf1c3fd1eb61e..95a7ec126e68053354d6989a6503d4ae2034ebb0 100644 (file)
@@ -137,7 +137,7 @@ static int renormalize_tracked_files(const struct pathspec *pathspec, int flags)
                        continue; /* do not touch non blobs */
                if (pathspec && !ce_path_match(&the_index, ce, pathspec, NULL))
                        continue;
-               retval |= add_file_to_cache(ce->name, flags | HASH_RENORMALIZE);
+               retval |= add_file_to_cache(ce->name, flags | ADD_CACHE_RENORMALIZE);
        }
 
        return retval;