libgit2/tests-clar/refs/branches
Nikolai Vladimirov 3d42e9a31e git_branch_set_upstream with local branches
Currently git_branch_set_upstream when passed a local branch
creates invalid configuration, for ex. if we setup branch
'tracking_master' to track local 'master' libgit2 generates
the following config

```
[branch "track_master"]
  remote = .
  merge = .refs/heads/track_master
```

The merge value is invalid and calling git_branch_upstream on
'tracking_master' results in invalid reference error.

It should do:

```
[branch "track_master"]
  remote = .
  merge = refs/heads/master
```
2013-05-06 20:33:11 +03:00
..
create.c branch: Deploy EINVALIDSPEC usage 2012-12-01 08:34:28 +01:00
delete.c immutable references and a pluggable ref database 2013-03-07 11:01:52 -06:00
foreach.c Rename ref and reflog apis for consistency 2012-11-27 13:17:45 -08:00
ishead.c Rename ref and reflog apis for consistency 2012-11-27 13:17:45 -08:00
lookup.c branch: Deploy EINVALIDSPEC usage 2012-12-01 08:34:28 +01:00
move.c immutable references and a pluggable ref database 2013-03-07 11:01:52 -06:00
name.c Added git_branch_name(). 2013-01-25 05:24:21 +01:00
remote.c Set error message for branch functions 2013-05-01 04:18:46 -07:00
upstream.c git_branch_set_upstream with local branches 2013-05-06 20:33:11 +03:00
upstreamname.c branch: rename 'tracking' to 'upstream' 2013-03-30 15:45:57 +01:00