Hi,

Mostly likely because the global settings are under your home area, whilst the 
checkout below is not.

Just go to  /opt/macports/macports-ports and set the local settings for that 
area as well.

Or, move your ports checkout to somewhere in your home area.

Chris

> On 15 Sep 2018, at 11:49 am, Werner LEMBERG <w...@gnu.org> wrote:
> 
> 
> Folks,
> 
> 
> after doing various network hacks, calling `port -d sync' now fails.
> 
>  --->  Updating the ports tree
>  Synchronizing local ports tree from file:///opt/macports/macports-ports
>  DEBUG: /opt/local/bin/git pull --rebase --autostash
>  DEBUG: system -W /opt/macports/macports-ports: /opt/local/bin/git pull 
> --rebase --autostash
> 
>  *** 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 '...@...')
>  Cannot save the current index state
>  Cannot autostash
>  Command failed: /opt/local/bin/git pull --rebase --autostash
>  Exit code: 1
> 
> Note that I already have set user name and e-mail adress globally, but
> the error persists.  Manually calling `git stash' works also just fine.
> 
> Any ideas how to solve this?
> 
> 
>    Werner

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to