Commit Diff


commit - 2aa0475caa333b7d3f25991b11b09ab048e8e6de
commit + a808cfa5a739af830d2426a0fa3b420425d0037b
blob - ba1061d2d3ac93f19f71d48ea83f35e9524c3976
blob + ed60d5583a7b6f9135bbf8f7cf4acaee9e9e1fb6
--- include/got_error.h
+++ include/got_error.h
@@ -70,6 +70,7 @@
 #define GOT_ERR_PATH_PREFIX	54
 #define GOT_ERR_ANCESTRY	55
 #define GOT_ERR_FILEIDX_BAD	56
+#define GOT_ERR_BAD_REF_DATA	57
 
 static const struct got_error {
 	int code;
@@ -130,6 +131,7 @@ static const struct got_error {
 	{ GOT_ERR_ANCESTRY,	"specified commit does not share ancestry with "
 				"the current branch" },
 	{ GOT_ERR_FILEIDX_BAD,	"file index is corrupt" },
+	{ GOT_ERR_BAD_REF_DATA,	"could not parse reference data" },
 };
 
 /*