Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit559b902

Browse files
vathpelaByron
authored andcommitted
Maybe work around AppVeyor setting a bad email?
One of the submodule tests says:Traceback (most recent call last): File "C:\projects\gitpython\git\test\lib\helper.py", line 92, in wrapper return func(self, path) File "C:\projects\gitpython\git\test\test_submodule.py", line 706, in test_git_submodules_and_add_sm_with_new_commit smm.git.commit(m="new file added") File "C:\projects\gitpython\git\cmd.py", line 425, in <lambda> return lambda *args, **kwargs: self._call_process(name, *args, **kwargs) File "C:\projects\gitpython\git\cmd.py", line 877, in _call_process return self.execute(call, **exec_kwargs) File "C:\projects\gitpython\git\cmd.py", line 688, in execute raise GitCommandError(command, status, stderr_value, stdout_value)git.exc.GitCommandError: Cmd('git') failed due to: exit code(128) cmdline: git commit -m new file added stderr: '*** Please tell me who you are.Run git config --global user.email "you@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 'appveyor@APPVYR-WIN.(none)')'Clearly this is failing because (none) isn't a valid TLD, but I figureI'll try to set a fake value and see if that works around it.
1 parentaec58a9 commit559b902

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎git/test/test_submodule.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -698,6 +698,9 @@ def test_git_submodules_and_add_sm_with_new_commit(self, rwdir):
698698

699699
parent.index.commit("moved submodules")
700700

701+
withsm.config_writer()aswriter:
702+
writer.set_value('user.email','example@example.com')
703+
writer.set_value('user.name','me')
701704
smm=sm.module()
702705
fp=osp.join(smm.working_tree_dir,'empty-file')
703706
withopen(fp,'w'):

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp