Commit Diff


commit - 4f3f2a5b3189def4d53e5616e1bf4e2bd29a6fd2
commit + 381ce3eacb7813cdf7c8c914744dcc5ba304cc7b
blob - fccb9f202465601c758a6109d249c9eb81ad0f64
blob + 29b9792fd53e60161ca6d6e3e01dc112d9e07d98
--- got/Makefile.am
+++ got/Makefile.am
@@ -38,6 +38,7 @@ got_SOURCES = got.c \
 	$(top_srcdir)/lib/object_idset.c \
 	$(top_srcdir)/lib/object_open_privsep.c \
 	$(top_srcdir)/lib/object_parse.c \
+	$(top_srcdir)/lib/object_qid.c \
 	$(top_srcdir)/lib/opentemp.c \
 	$(top_srcdir)/lib/pack.c \
 	$(top_srcdir)/lib/pack_create.c \
blob - 833fd7c3c16b2e0663d06f6058f588ed3c8a19de
blob + 292b0e5c4f58ab5a1f77982623f2489d6483bc52
--- gotadmin/Makefile.am
+++ gotadmin/Makefile.am
@@ -22,6 +22,7 @@ gotadmin_SOURCES = gotadmin.c \
        $(top_srcdir)/lib/object_idset.c \
        $(top_srcdir)/lib/object_open_privsep.c \
        $(top_srcdir)/lib/object_parse.c \
+       $(top_srcdir)/lib/object_qid.c \
        $(top_srcdir)/lib/opentemp.c \
        $(top_srcdir)/lib/pack.c \
        $(top_srcdir)/lib/pack_create.c \
blob - 433fada066e72c2486662501e1a87858bfd961f5
blob + 9f86edc781239405e37fc72f6ccd09b4430730c6
--- gotwebd/Makefile.am
+++ gotwebd/Makefile.am
@@ -44,6 +44,7 @@ gotwebd_SOURCES = config.c \
 		  $(top_srcdir)/lib/object_idset.c \
 		  $(top_srcdir)/lib/object_open_privsep.c \
 		  $(top_srcdir)/lib/object_parse.c \
+		  $(top_srcdir)/lib/object_qid.c \
 		  $(top_srcdir)/lib/opentemp.c \
 		  $(top_srcdir)/lib/pack.c \
 		  $(top_srcdir)/lib/patch.c \
blob - a9a221e535da0939d15f88d17270f1201192cdef
blob + 4908999633fa7889a6f84f36e6fcaa39d08bae03
--- lib/object_qid.c
+++ lib/object_qid.c
@@ -14,6 +14,8 @@
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
+#include "got_compat.h"
+
 #include <sys/queue.h>
 
 #include <stdio.h>
blob - 5ff52e5004db054488c67578ed9d846a266a40a3
blob + adb92e967a22af3e7866d16ed42fee22588f0524
--- libexec/got-fetch-pack/Makefile.am
+++ libexec/got-fetch-pack/Makefile.am
@@ -9,6 +9,7 @@ got_fetch_pack_SOURCES = \
 	$(top_srcdir)/lib/hash.c \
 	$(top_srcdir)/lib/inflate.c \
 	$(top_srcdir)/lib/object_parse.c \
+	$(top_srcdir)/lib/object_qid.c \
 	$(top_srcdir)/lib/path.c \
 	$(top_srcdir)/lib/pkt.c \
 	$(top_srcdir)/lib/pollfd.c \
blob - 7a2b6c6ba5585559149c77be23d312bb1dedb128
blob + 161e1c257ece132df53a374b28ade836fb9fad75
--- libexec/got-index-pack/Makefile.am
+++ libexec/got-index-pack/Makefile.am
@@ -9,6 +9,7 @@ got_index_pack_SOURCES = got-index-pack.c \
 	$(top_srcdir)/lib/inflate.c \
 	$(top_srcdir)/lib/object_idset.c \
 	$(top_srcdir)/lib/object_parse.c \
+	$(top_srcdir)/lib/object_qid.c \
 	$(top_srcdir)/lib/pack.c \
 	$(top_srcdir)/lib/pack_index.c \
 	$(top_srcdir)/lib/path.c \
blob - 0719075b173012279bad2989b10e549f066b739c
blob + 85b82c4be5e3e44f114fb9ee790d6e5478b23b58
--- libexec/got-read-blob/Makefile.am
+++ libexec/got-read-blob/Makefile.am
@@ -7,6 +7,7 @@ got_read_blob_SOURCES = got-read-blob.c \
 	$(top_srcdir)/lib/hash.c \
 	$(top_srcdir)/lib/inflate.c \
 	$(top_srcdir)/lib/object_parse.c \
+	$(top_srcdir)/lib/object_qid.c \
 	$(top_srcdir)/lib/path.c \
 	$(top_srcdir)/lib/pollfd.c \
 	$(top_srcdir)/lib/privsep.c
blob - 54cf703e7c588b515a90bf7a78d9933df2eb03c7
blob + 7474516f4e33b6738c753c104c889ce827ff933b
--- libexec/got-read-commit/Makefile.am
+++ libexec/got-read-commit/Makefile.am
@@ -7,6 +7,7 @@ got_read_commit_SOURCES = got-read-commit.c \
 	$(top_srcdir)/lib/hash.c \
 	$(top_srcdir)/lib/inflate.c \
 	$(top_srcdir)/lib/object_parse.c \
+	$(top_srcdir)/lib/object_qid.c \
 	$(top_srcdir)/lib/path.c \
 	$(top_srcdir)/lib/pollfd.c \
 	$(top_srcdir)/lib/privsep.c
blob - 95c191c3a76f49279cc590cdaec7efc20bc744cd
blob + 342f2ed39e8ceaecd21940c1e9d3b1b652ae2dc0
--- libexec/got-read-gitconfig/Makefile.am
+++ libexec/got-read-gitconfig/Makefile.am
@@ -8,6 +8,7 @@ got_read_gitconfig_SOURCES = got-read-gitconfig.c \
 	$(top_srcdir)/lib/hash.c \
 	$(top_srcdir)/lib/inflate.c \
 	$(top_srcdir)/lib/object_parse.c \
+	$(top_srcdir)/lib/object_qid.c \
 	$(top_srcdir)/lib/path.c \
 	$(top_srcdir)/lib/pollfd.c \
 	$(top_srcdir)/lib/privsep.c
blob - 8cd643310b7452b1c21943f2e6265277f0b0fb68
blob + d82166438f10d25034713d60098431257255913e
--- libexec/got-read-gotconfig/Makefile.am
+++ libexec/got-read-gotconfig/Makefile.am
@@ -7,6 +7,7 @@ got_read_gotconfig_SOURCES = \
 	$(top_srcdir)/lib/hash.c \
 	$(top_srcdir)/lib/inflate.c \
 	$(top_srcdir)/lib/object_parse.c \
+	$(top_srcdir)/lib/object_qid.c \
 	$(top_srcdir)/lib/path.c \
 	$(top_srcdir)/lib/pollfd.c \
 	$(top_srcdir)/lib/privsep.c \
blob - aa6813389e902a11187156d57670eb69f46971d1
blob + 3666e817db3b9335b0320a3b720fcb9f3a8ec48e
--- libexec/got-read-object/Makefile.am
+++ libexec/got-read-object/Makefile.am
@@ -7,6 +7,7 @@ got_read_object_SOURCES = got-read-object.c \
 	$(top_srcdir)/lib/hash.c \
 	$(top_srcdir)/lib/inflate.c \
 	$(top_srcdir)/lib/object_parse.c \
+	$(top_srcdir)/lib/object_qid.c \
 	$(top_srcdir)/lib/path.c \
 	$(top_srcdir)/lib/pollfd.c \
 	$(top_srcdir)/lib/privsep.c
blob - 6c4ac32fae3afa35e62262d33fcbb7ee8e27e95e
blob + bc80a9fd05286f6fa328e3c1d445a69178209abf
--- libexec/got-read-pack/Makefile.am
+++ libexec/got-read-pack/Makefile.am
@@ -11,6 +11,7 @@ got_read_pack_SOURCES = got-read-pack.c \
 	$(top_srcdir)/lib/object_cache.c \
 	$(top_srcdir)/lib/object_idset.c \
 	$(top_srcdir)/lib/object_parse.c \
+	$(top_srcdir)/lib/object_qid.c \
 	$(top_srcdir)/lib/opentemp.c \
 	$(top_srcdir)/lib/pack.c \
 	$(top_srcdir)/lib/path.c \
blob - 335faa9b73af957908face2c517e22b7df4eb5f4
blob + 9d0ce54acd0b8714fd3f755f6a0f95a0dc8c1eb9
--- libexec/got-read-patch/Makefile.am
+++ libexec/got-read-patch/Makefile.am
@@ -7,6 +7,7 @@ got_read_patch_SOURCES = got-read-patch.c \
 	$(top_srcdir)/lib/hash.c \
 	$(top_srcdir)/lib/inflate.c \
 	$(top_srcdir)/lib/object_parse.c \
+	$(top_srcdir)/lib/object_qid.c \
 	$(top_srcdir)/lib/path.c \
 	$(top_srcdir)/lib/pollfd.c \
 	$(top_srcdir)/lib/privsep.c
blob - e93ef493795b487d0a4801452db5f6655090034c
blob + d37ceaaa848bc8de6a3d62b64beae9fabd6e1331
--- libexec/got-read-tag/Makefile.am
+++ libexec/got-read-tag/Makefile.am
@@ -7,6 +7,7 @@ got_read_tag_SOURCES = got-read-tag.c \
 	$(top_srcdir)/lib/hash.c \
 	$(top_srcdir)/lib/inflate.c \
 	$(top_srcdir)/lib/object_parse.c \
+	$(top_srcdir)/lib/object_qid.c \
 	$(top_srcdir)/lib/path.c \
 	$(top_srcdir)/lib/pollfd.c \
 	$(top_srcdir)/lib/privsep.c
blob - a09561fac19fe4a5aecabce759d01eb1d8fbd59c
blob + 44ae0ae2c023c883a096484408548c5976907087
--- libexec/got-read-tree/Makefile.am
+++ libexec/got-read-tree/Makefile.am
@@ -7,6 +7,7 @@ got_read_tree_SOURCES = got-read-tree.c \
 	$(top_srcdir)/lib/hash.c \
 	$(top_srcdir)/lib/inflate.c \
 	$(top_srcdir)/lib/object_parse.c \
+	$(top_srcdir)/lib/object_qid.c \
 	$(top_srcdir)/lib/path.c \
 	$(top_srcdir)/lib/pollfd.c \
 	$(top_srcdir)/lib/privsep.c
blob - 998034125244091b1df972f974b0e8cd5311a33b
blob + 54c2187a930fc739ba79182ad1bb6b9359dadd1c
--- libexec/got-send-pack/Makefile.am
+++ libexec/got-send-pack/Makefile.am
@@ -9,6 +9,7 @@ got_send_pack_SOURCES = \
 	$(top_srcdir)/lib/hash.c \
 	$(top_srcdir)/lib/inflate.c \
 	$(top_srcdir)/lib/object_parse.c \
+	$(top_srcdir)/lib/object_qid.c \
 	$(top_srcdir)/lib/path.c \
 	$(top_srcdir)/lib/pkt.c \
 	$(top_srcdir)/lib/pollfd.c \
blob - 54f3785407d74ab85fd1c335ccaf38aface4a5fb
blob + 1ef092610f09b047277d8dcfa2a660ad4d24b219
--- tog/Makefile.am
+++ tog/Makefile.am
@@ -37,6 +37,7 @@ tog_SOURCES = tog.c \
 	$(top_srcdir)/lib/object_idset.c \
 	$(top_srcdir)/lib/object_open_privsep.c \
 	$(top_srcdir)/lib/object_parse.c \
+	$(top_srcdir)/lib/object_qid.c \
 	$(top_srcdir)/lib/opentemp.c \
 	$(top_srcdir)/lib/pack.c \
 	$(top_srcdir)/lib/path.c \