summaryrefslogtreecommitdiff
path: root/git.h
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2022-08-01 11:14:44 -0300
committermrb0nk500 <b0nk@b0nk.xyz>2022-08-01 11:14:44 -0300
commitd79150f4b7731e6309fc5784c9c3a481300fbd9a (patch)
tree2347dfd5d9b02b48abeacd6bbb03331ae1f3c4e3 /git.h
parent60fe6842a58366460a8cf3b246b016fb12e9db4b (diff)
git: Add `merge-branch` keyword to list of info file keywords
Diffstat (limited to 'git.h')
-rw-r--r--git.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/git.h b/git.h
index daefbf0..b8bba77 100644
--- a/git.h
+++ b/git.h
@@ -71,6 +71,7 @@ static const keyword *info_keywords[] = {
&(const keyword){"branch", "Branch of remote repo.", NULL, TYPE_STRING, offset_list(offsetof(pull_request, branch), offsetof(git_branch, name)), parse_remote_branch},
&(const keyword){"repo", "URL of remote repo.", NULL, TYPE_STRING, offset_list(offsetof(pull_request, branch), offsetof(git_branch, repo)), parse_remote_branch},
&(const keyword){"patches", "Patch file(s) of Pull Request.", NULL, TYPE_STRING, offset_list(offsetof(pull_request, patches), offsetof(file, name)), parse_patch_list},
+ &(const keyword){"merge-branch", "Branch to merge Pull Request with.", NULL, TYPE_STRING, offset_list(offsetof(pull_request, merge_branch)), NULL},
NULL,
};