git-buildpackage icon indicating copy to clipboard operation
git-buildpackage copied to clipboard

Feature/gitrepository

Open marquiz opened this issue 7 years ago • 4 comments

marquiz avatar Jan 23 '18 09:01 marquiz

Hi, thanks for splitting this out. commit_all has an author_info so it should get a committer_info as well.

agx avatar Jan 23 '18 09:01 agx

commit_all has an author_info so it should get a committer_info as well.

Done

marquiz avatar Jan 23 '18 10:01 marquiz

I spotted one other change that might introduce problems since __build_env would change return type and that gets passed to Popen and Popen's default type for "do nothing" is None not {} (see _execute_child in subprocess.py). I don't think that matter but it might be worth checking.

agx avatar Jan 23 '18 11:01 agx

I spotted one other change that might introduce problems since __build_env would change return type and that gets passed to Popen and Popen's default type for "do nothing" is None not {} (see _execute_child in subprocess.py). I don't think that matter but it might be worth checking.

Well spotted :) It won't make any difference as the current env is copied in this case. An empty dict is already used in some places, e.g. add_files(). However, I now added one more commit so that extra_env={} will be handled as expected.

marquiz avatar Jan 23 '18 12:01 marquiz