diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2014-04-02 18:44:01 +0200 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2014-04-02 20:22:22 +0200 |
commit | 67d4997a7e3d95d8ebc9c13481b767efd1d5bb15 (patch) | |
tree | c81316ae40c5af824dce39df98a1f33abcae3cd3 /tests/diff/diffiter.c | |
parent | 6f6be8fe4199b5bccad00a9a3ab8b078286c1837 (diff) | |
download | libgit2-67d4997a7e3d95d8ebc9c13481b767efd1d5bb15.tar.gz |
remote: mark branch for-merge even if we're unborn
When the current branch is unborn, git will still mark the current
branch's upstream for-merge if there is an upstream configuration. The
only non-constrived case is cloning from an empty repository which then
gains history. origin's master should be marked for-merge.
In order to do this, we cannot use the high-level wrappers that expect a
reference, as we may not have one. Move over to the internal ones that
expect a reference name, which we do have.
Diffstat (limited to 'tests/diff/diffiter.c')
0 files changed, 0 insertions, 0 deletions