From d509550f69ab927db44d090e40b525b7ecef9032 Mon Sep 17 00:00:00 2001 From: Benjamin Bohard Date: Mon, 7 Sep 2020 18:30:56 +0200 Subject: [PATCH] Simplify getting identity --- setup_main_tex_file.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup_main_tex_file.py b/setup_main_tex_file.py index f7b4c3e..8cd5380 100755 --- a/setup_main_tex_file.py +++ b/setup_main_tex_file.py @@ -78,7 +78,7 @@ def git_integration(func): master_add_paths = [fp for fp in repo_status if (fp.startswith('content/') or fp.startswith('slides/')) and repo_status[fp] in to_add_status] - author = pygit2.Signature(repo.config['user.name'], repo.config['user.email']) + author = repo.default_signature committer = author index = repo.index