From 60780c0aa29706cd323a69b495362cc633a0c4e5 Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Tue, 26 Jul 2022 18:24:00 -0300 Subject: git: Remove definition of `index` struct from `git.h` oof, forgot to commit this when moving all the index related stuff to `index.{c,h}`. --- git.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/git.h b/git.h index 4fd7131..351b92d 100644 --- a/git.h +++ b/git.h @@ -48,15 +48,6 @@ struct pull_request { git_branch *merge_branch; /* Branch to merge pull request with. */ }; -struct index { - uint8_t type; /* Index type. (0 = Named index, 1 = Numbered index) */ - union { - char *name; /* Named index. */ - uint64_t num; /* Numbered index. */ - }; - index *next; /* Next index. */ -}; - extern void cleanup_git(git_repository **repos); extern git_repository **init_git(config *cfg); extern int add_comment(comment *comment, const char *pr_root); -- cgit v1.2.3-13-gbd6f