Commit f7c3d622ee978f9f9f10bb3098fe44a0ad436b84

Dmitry Lobanov 2021-05-16T13:58:51

branch: git branch upstream functions layouts have been fixed.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/src/branch.c b/src/branch.c
index 55b748c..e32c5bd 100644
--- a/src/branch.c
+++ b/src/branch.c
@@ -492,11 +492,13 @@ static int git_branch_upstream_with_format(git_buf *buf, git_repository *repo, c
 	return error;
 }
 
-int git_branch_upstream_remote(git_buf *buf, git_repository *repo, const char *refname) {
+int git_branch_upstream_remote(git_buf *buf, git_repository *repo, const char *refname)
+{
 	git_branch_upstream_with_format(buf, repo, refname, "branch.%s.remote");
 }
 
-int git_branch_upstream_merge(git_buf *buf, git_repository *repo, const char *refname) {
+int git_branch_upstream_merge(git_buf *buf, git_repository *repo, const char *refname)
+{
 	git_branch_upstream_with_format(buf, repo, refname, "branch.%s.merge");
 }