summaryrefslogtreecommitdiff
path: root/manifest.c
diff options
context:
space:
mode:
authorJoel Rosdahl <joel@rosdahl.net>2010-04-25 15:44:18 +0200
committerJoel Rosdahl <joel@rosdahl.net>2010-04-25 15:44:18 +0200
commitb2dd02bbdc703f96ed96bb37cda2047e217273e2 (patch)
treea4af4788d32866b11f8290d46d686b79069359ce /manifest.c
parentfca0348c46e065c785a6985563a828f943ad2d3f (diff)
downloadccache-b2dd02bbdc703f96ed96bb37cda2047e217273e2.tar.gz
Refactoring: move hash_*_ignoring_comments to hash_include_file_* in testutil
Diffstat (limited to 'manifest.c')
-rw-r--r--manifest.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/manifest.c b/manifest.c
index 771f4616..9339d475 100644
--- a/manifest.c
+++ b/manifest.c
@@ -21,7 +21,6 @@
#include "hashutil.h"
#include "manifest.h"
#include "murmurhashneutral2.h"
-#include "comments.h"
#include <sys/types.h>
#include <sys/stat.h>
@@ -371,8 +370,7 @@ static int verify_object(struct manifest *mf, struct object *obj,
if (!actual) {
actual = x_malloc(sizeof(*actual));
hash_start(&hash);
- if (!hash_file_ignoring_comments(
- &hash, mf->files[fi->index])) {
+ if (!hash_include_file(&hash, mf->files[fi->index])) {
cc_log("Failed hashing %s",
mf->files[fi->index]);
free(actual);