]> git.proxmox.com Git - libgit2.git/commitdiff
Move un-namespaced constant to internal header
authorRussell Belfer <rb@github.com>
Fri, 10 Oct 2014 22:17:05 +0000 (15:17 -0700)
committerRussell Belfer <rb@github.com>
Fri, 10 Oct 2014 22:17:05 +0000 (15:17 -0700)
FLAG_BITS only seems to be used internally

include/git2/common.h
src/commit_list.h

index ddeaf77a22296ce7c24d988ed431e4139b2fe2eb..1363316b62f1da61aad837db9877a95783126df5 100644 (file)
@@ -83,8 +83,6 @@ GIT_BEGIN_DECL
  */
 #define GIT_OID_HEX_ZERO "0000000000000000000000000000000000000000"
 
-#define FLAG_BITS 27
-
 /**
  * Return the version of the libgit2 library
  * being currently used.
index 7cd3945ae0a5b918464cd91293687b7d52b20a16..6b3f473d3ce40bacb4e7ec9d2058ab9d5cdb88c7 100644 (file)
@@ -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;