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>2011-03-17 00:13:28 +0300
committerVicent Marti <tanoku@gmail.com>2011-03-17 00:28:27 +0300
commit7341bf87b111dfa0cf12761389e0e7a118363f42 (patch)
treeeb696fa7dbaf0d867b2c2e727b1888cacfd2d4cf /src/refs.h
parent9f81a37aa416446726a00996dce01b02372a43b1 (diff)
Refs are now always in-sync on disk
Diffstat (limited to 'src/refs.h')
-rw-r--r--src/refs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/refs.h b/src/refs.h
index a542ac0f2..bebb1b97d 100644
--- a/src/refs.h
+++ b/src/refs.h
@@ -23,11 +23,13 @@ struct git_reference {
git_repository *owner;
char *name;
unsigned int type;
+ time_t mtime;
};
typedef struct {
git_hashtable *packfile;
git_hashtable *loose_cache;
+ time_t packfile_time;
} git_refcache;