Commit f45ff6c92d8d27ff0c3eb007267eadb4aeeaf16f

Josh Triplett 2021-11-08T17:33:35

Omit trailing comma on enum To accommodate less capable compilers. Co-authored-by: Peter Pettersson <85582231+boretrk@users.noreply.github.com>

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/include/git2/odb.h b/include/git2/odb.h
index 6c86cd6..0691aa4 100644
--- a/include/git2/odb.h
+++ b/include/git2/odb.h
@@ -30,7 +30,7 @@ typedef enum {
 	 * exist. When using this flag, you may wish to manually call
 	 * `git_odb_refresh` before processing a batch of objects.
 	 */
-	GIT_ODB_LOOKUP_NO_REFRESH = (1 << 0),
+	GIT_ODB_LOOKUP_NO_REFRESH = (1 << 0)
 } git_odb_lookup_flags_t;
 
 /**