Skip to content

Commit 6051f32

Browse files
committed
builder-source-archive: Explicitly commit with no-gpg-sign
Fixes #439 It does not make much sense trying to commit inside the state dir with gpg signing enabled. It should be as non interactive as possible otherwise, it will just hang
1 parent a5406ff commit 6051f32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/builder-source-archive.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -703,7 +703,7 @@ init_git (GFile *dir,
703703
basename = g_file_get_basename (dir);
704704
if (!git (dir, error, "init", NULL) ||
705705
!git (dir, error, "add", "--ignore-errors", ".", NULL) ||
706-
!git (dir, error, "commit", "-m", basename, NULL))
706+
!git (dir, error, "commit", "--no-gpg-sign", "-m", basename, NULL))
707707
{
708708
g_free (basename);
709709
return FALSE;

0 commit comments

Comments
 (0)