summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2014-10-11 14:48:57 -0400
committerEdward Thomson <ethomson@edwardthomson.com>2014-10-11 14:48:57 -0400
commit9e49cb7a4ba4f6961e3681cb59421cec04a50893 (patch)
treef6cda89e35fb21ea2ef6e36ababafea9800fcb7d /src
parentfd0f6d38558a03e8f1685098bac0e86a2220c57d (diff)
parent85fe63bc58707da6cba85794ae642c200cf6faf0 (diff)
downloadlibgit2-9e49cb7a4ba4f6961e3681cb59421cec04a50893.tar.gz
Merge pull request #2613 from libgit2/rb/minor-cleanups
Minor cleanups for master
Diffstat (limited to 'src')
-rw-r--r--src/commit_list.h2
-rw-r--r--src/describe.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/commit_list.h b/src/commit_list.h
index 7cd3945ae..6b3f473d3 100644
--- a/src/commit_list.h
+++ b/src/commit_list.h
@@ -18,6 +18,8 @@
#define COMMIT_ALLOC \
(sizeof(git_commit_list_node) + PARENTS_PER_COMMIT * sizeof(git_commit_list_node *))
+#define FLAG_BITS 4
+
typedef struct git_commit_list_node {
git_oid oid;
uint32_t time;
diff --git a/src/describe.c b/src/describe.c
index 08c99a7d2..024b9db7c 100644
--- a/src/describe.c
+++ b/src/describe.c
@@ -29,7 +29,7 @@ struct commit_name {
char *path;
/* Khash workaround. They original key has to still be reachable */
- git_oid peeled;
+ git_oid peeled;
};
static void *oidmap_value_bykey(git_oidmap *map, const git_oid *key)