summaryrefslogtreecommitdiff
path: root/git.h
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2022-07-26 18:24:00 -0300
committermrb0nk500 <b0nk@b0nk.xyz>2022-07-26 18:24:00 -0300
commit60780c0aa29706cd323a69b495362cc633a0c4e5 (patch)
treea00ac38621b709daaf090043e83cc4376cdad0be /git.h
parente108eea9d5b6846a9c1e227db1bcb4e15aebaab1 (diff)
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}`.
Diffstat (limited to 'git.h')
-rw-r--r--git.h9
1 files changed, 0 insertions, 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);