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 ```
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
create.c | Loading commit data... | |
delete.c | Loading commit data... | |
foreach.c | Loading commit data... | |
ishead.c | Loading commit data... | |
lookup.c | Loading commit data... | |
move.c | Loading commit data... | |
name.c | Loading commit data... | |
remote.c | Loading commit data... | |
upstream.c | Loading commit data... | |
upstreamname.c | Loading commit data... |