Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2012-10-31 23:52:01 +0400
committerVicent Marti <tanoku@gmail.com>2012-10-31 23:52:01 +0400
commitc1f61af66b35533ee8268e615de6ded74b2ce342 (patch)
treeefb3a3c85de72687cbc8e47ce0783c3e61582027 /src/attr.c
parentc8b511f3cdb3f7fa63600b36bb2412099998a805 (diff)
I LIKE THESE NAMES
Diffstat (limited to 'src/attr.c')
-rw-r--r--src/attr.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/attr.c b/src/attr.c
index 4993e3a8f..b5757446f 100644
--- a/src/attr.c
+++ b/src/attr.c
@@ -261,13 +261,13 @@ bool git_attr_cache__is_cached(
static int load_attr_file(
const char **data,
- git_futils_file_stamp *stamp,
+ git_futils_filestamp *stamp,
const char *filename)
{
int error;
git_buf content = GIT_BUF_INIT;
- error = git_futils_file_stamp_has_changed(stamp, filename);
+ error = git_futils_filestamp_check(stamp, filename);
if (error < 0)
return error;
@@ -380,7 +380,7 @@ int git_attr_cache__push_file(
git_attr_cache *cache = git_repository_attr_cache(repo);
git_attr_file *file = NULL;
git_blob *blob = NULL;
- git_futils_file_stamp stamp;
+ git_futils_filestamp stamp;
assert(filename && stack);
@@ -402,7 +402,7 @@ int git_attr_cache__push_file(
/* if not in cache, load data, parse, and cache */
if (source == GIT_ATTR_FILE_FROM_FILE) {
- git_futils_file_stamp_set(
+ git_futils_filestamp_set(
&stamp, file ? &file->cache_data.stamp : NULL);
error = load_attr_file(&content, &stamp, filename);
@@ -440,7 +440,7 @@ int git_attr_cache__push_file(
if (blob)
git_oid_cpy(&file->cache_data.oid, git_object_id((git_object *)blob));
else
- git_futils_file_stamp_set(&file->cache_data.stamp, &stamp);
+ git_futils_filestamp_set(&file->cache_data.stamp, &stamp);
finish:
/* push file onto vector if we found one*/