summaryrefslogtreecommitdiff
path: root/git.h
AgeCommit message (Collapse)Author
2022-07-27git: Update definition of `create_pull_request_dir()` in `git.h`mrb0nk500
Forgot to do that when first implementing the index related stuff.
2022-07-27git: Replace all uses of `git_repo` with the more generic `linked_list`mrb0nk500
We don't need a type specific linked list anymore, so we can just get rid of it, plus it makes the code much cleaner in the process.
2022-07-26git: Remove definition of `index` struct from `git.h`mrb0nk500
oof, forgot to commit this when moving all the index related stuff to `index.{c,h}`.
2022-07-26git, index: Move index related functions to `index.{c,h}`mrb0nk500
2022-07-13git: Add index typemrb0nk500
An index is a type of identifier that'll be used for identifying PR's. Indexes can either be named, or numbered, and can also contain another index within them, with each subsequent index being seperated by '-'s.
2021-06-27Added externs for `add_comment()`, andmrb0nk500
`create_pull_request_dir()` in `git.h`.
2021-06-27Added the `id`, and `reply` members to `comment`.mrb0nk500
2021-06-27Changed `date` from `int` to `time_t` in `comment`.mrb0nk500
2021-06-26Make `date` a `time_t`.mrb0nk500
2021-06-15Added the `git_branch` struct, and replaced allmrb0nk500
instances of `git_reference` with it.
2021-06-15Added `pull_request`, `file`, and `comment` structs.mrb0nk500
These structs are used for accepting, rejecting, creating, sending, and receiving pull requests.
2021-06-13Include `git.h` in `pullreqd.c`.mrb0nk500
Also added the necessary externs.
2021-06-13Added the `git_repo` struct.mrb0nk500
This is a linked list, that will be temporarily be used by `init_git()`.
2021-06-12Start work on the git related code.mrb0nk500