Commit f7c3d622 by Dmitry Lobanov

branch: git branch upstream functions layouts have been fixed.

parent 7d9599bd
......@@ -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");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment