summaryrefslogtreecommitdiff
path: root/src/revparse.c
diff options
context:
space:
mode:
authorVicent Martí <vicent@github.com>2013-04-11 06:34:59 -0700
committerVicent Martí <vicent@github.com>2013-04-11 06:34:59 -0700
commitea8bac37b0c3a302b8f740cbeb4af50d0626815b (patch)
treea6d3eb230c55f683d4c65921552a132bcc2c7a37 /src/revparse.c
parentacd4077182b508f5c88353ddfcf31e14614d0d46 (diff)
parentd59942c2aba2fa5f9570b37e3bc9eaf34f16d671 (diff)
downloadlibgit2-ea8bac37b0c3a302b8f740cbeb4af50d0626815b.tar.gz
Merge pull request #1450 from carlosmn/branch-upstream
Branch upstream configuration
Diffstat (limited to 'src/revparse.c')
-rw-r--r--src/revparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/revparse.c b/src/revparse.c
index b1eb51b41..fd62a2fd2 100644
--- a/src/revparse.c
+++ b/src/revparse.c
@@ -356,7 +356,7 @@ static int retrieve_remote_tracking_reference(git_reference **base_ref, const ch
goto cleanup;
}
- if ((error = git_branch_tracking(&tracking, ref)) < 0)
+ if ((error = git_branch_upstream(&tracking, ref)) < 0)
goto cleanup;
*base_ref = tracking;