summaryrefslogtreecommitdiff
path: root/src/refs.h
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2011-02-26 13:56:16 +0100
committerVicent Marti <tanoku@gmail.com>2011-03-03 20:23:50 +0200
commitd2d6912e6ce1ab12d2bedebb5514c888aa7d585f (patch)
tree7e3c7e30b41463a02c8008bbe563e3b170e74cde /src/refs.h
parent3b3a10176e6f6c239abad4f835883ee903067180 (diff)
downloadlibgit2-d2d6912e6ce1ab12d2bedebb5514c888aa7d585f.tar.gz
Refactored the opening and the initialization of a repository.
Diffstat (limited to 'src/refs.h')
-rw-r--r--src/refs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/refs.h b/src/refs.h
index 6efc61b86..a542ac0f2 100644
--- a/src/refs.h
+++ b/src/refs.h
@@ -16,6 +16,9 @@
#define GIT_PACKEDREFS_HEADER "# pack-refs with: peeled "
#define MAX_GITDIR_TREE_STRUCTURE_PATH_LENGTH 100
+#define GIT_HEAD_FILE "HEAD"
+#define GIT_REFS_HEADS_MASTER_FILE GIT_REFS_HEADS_DIR "master"
+
struct git_reference {
git_repository *owner;
char *name;