[ 
https://issues.apache.org/jira/browse/YETUS-867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16831200#comment-16831200
 ] 

Allen Wittenauer commented on YETUS-867:
----------------------------------------

I've tracked the issue down to this:

https://discuss.circleci.com/t/git-checkout-of-a-branch-destroys-local-reference-to-master/23781

-00:
* allow for robots to do some things before Yetus starts it's normal git repo 
manipulation.  at this point, the personality should have kicked in and so the 
code will now be able to manipulate based upon PATCH_BRANCH_DEFAULT.
* Circle CI: reset ${PATCH_BRANCH_MASTER} to origin/${PATCH_BRANCH_MASTER}

> Circle CI's master failing pull
> -------------------------------
>
>                 Key: YETUS-867
>                 URL: https://issues.apache.org/jira/browse/YETUS-867
>             Project: Yetus
>          Issue Type: Bug
>          Components: Precommit
>    Affects Versions: 0.10.0
>            Reporter: Allen Wittenauer
>            Assignee: Allen Wittenauer
>            Priority: Major
>             Fix For: 0.11.0
>
>         Attachments: YETUS-867.00.patch
>
>
> Seeing this happening during PR handling:
> {code}
> Switched to branch 'master'
> Your branch and 'origin/master' have diverged,
> and have 1 and 1 different commit each, respectively.
>   (use "git pull" to merge the remote branch into yours)
> First, rewinding head to replay your work on top of it...
> *** Please tell me who you are.
> Run
>   git config --global user.email "y...@example.com"
>   git config --global user.name "Your Name"
> to set your account's default identity.
> Omit --global to set the identity only in this repository.
> fatal: unable to auto-detect email address (got 'root@d02dae94ba2f.(none)')
> ERROR: git pull is failing
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to