File: simple_patch_with_comments.patch

package info (click to toggle)
gcli 2.9.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,476 kB
  • sloc: ansic: 25,411; sh: 580; makefile: 509; yacc: 261; lex: 59
file content (24 lines) | stat: -rw-r--r-- 1,013 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From 47b40f51cae6cec9a3132f888fd66c21ecb687fa Mon Sep 17 00:00:00 2001
From: Nico Sonack <nsonack@outlook.com>
Date: Sun, 10 Oct 2021 12:23:11 +0200
Subject: [PATCH] Start submission implementation

---
 include/ghcli/pulls.h |  1 +
 src/ghcli.c           | 55 +++++++++++++++++++++++++++++++++++++++++++
 src/pulls.c           |  9 +++++++
 3 files changed, 65 insertions(+)

diff --git a/include/ghcli/pulls.h b/include/ghcli/pulls.h
index 30a503cf..05d233eb 100644
--- a/include/ghcli/pulls.h
+++ b/include/ghcli/pulls.h
@@ -57,5 +57,6 @@ int  ghcli_get_prs(const char *org, const char *reponame, bool all, ghcli_pull *
 void ghcli_print_pr_table(FILE *stream, ghcli_pull *pulls, int pulls_size);
 void ghcli_print_pr_diff(FILE *stream, const char *org, const char *reponame, int pr_number);
 void ghcli_pr_summary(FILE *stream, const char *org, const char *reponame, int pr_number);

This is a comment on line 60.
+void ghcli_pr_submit(const char *from, const char *to, int in_draft);
 
 #endif /* PULLS_H */