diff options
| author | Carlos Martín Nieto <cmn@dwim.me> | 2013-03-30 03:39:19 +0100 |
|---|---|---|
| committer | Carlos Martín Nieto <cmn@dwim.me> | 2013-03-30 15:45:57 +0100 |
| commit | a258d8e3574c4e993bf16e0c136d1a5fbc356728 (patch) | |
| tree | 25f4fc5e103024fc592cfb568691f24a86d356b5 /src/revparse.c | |
| parent | 81b8c9df4642328a7d0dc0920f1489748371d275 (diff) | |
| download | libgit2-a258d8e3574c4e993bf16e0c136d1a5fbc356728.tar.gz | |
branch: rename 'tracking' to 'upstream'
The term 'tracking' is overloaded. Help distinguish what we mean by
using 'upstream' for this part of the library.
Diffstat (limited to 'src/revparse.c')
| -rw-r--r-- | src/revparse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/revparse.c b/src/revparse.c index 1518a7c3c..2fd636135 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; |
