Okay, I hate to keep cropping up like a bad penny, but I've encountered
another issue related to this.
As you had suggested previously, I did the following in a new directory:
% repo init -b 4.40 && repo sync
% repo start --all 4.40
% git log --oneline -n2 origin/4.40
cf986a5 Adding meaningful tolerance to unit test.
1f78fea Bug fix
% git log --oneline -n2 4.40
cf986a5 Adding meaningful tolerance to unit test.
1f78fea Bug fix
% git status
On branch 4.40
Your branch is up-to-date with 'origin/4.40'.
nothing to commit, working directory clean
So far, so good. I've got the SHA1s I expect and nothing is weird. Now I
want to switch to the master branch (for which I have not yet created a
local tracking branch.)
% repo init -b master && repo sync
% repo start --all master
% git log --oneline -n2 origin/master
b7df477 IOSS: Support for parallel cgns
2e2bce8 EXODUS: Cleanup for removing cbind and forbind level
% git log --oneline -n2 master
b7df477 IOSS: Support for parallel cgns
2e2bce8 EXODUS: Cleanup for removing cbind and forbind level
% git status
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working directory clean
Again, so far/so good. However, if I check my local 4.40 branch is is
now NOT pointing to origin/4.40 as it should.
% git log --oneline -n2 4.40
b7df477 IOSS: Support for parallel cgns
2e2bce8 EXODUS: Cleanup for removing cbind and forbind level
% git log --oneline -n2 origin/4.40
cf986a5 Adding meaningful tolerance to unit test.
1f78fea Bug fix
What am I not understanding here?
On 04/07/16 16:55, Dan Willemsen wrote:
> On Thu, Apr 7, 2016 at 2:21 PM Mark Hamilton <
mha...@sandia.gov
> <mailto:
mha...@sandia.gov>> wrote:
e don't create local branches unless created with
> "repo start". If you use `git branch -r --points-at HEAD`, you'll see
FWIW, --points-at doesn't seem to be a valid option to git in our
version (2.6.1). I'll have to see if we can update.