#688 fix: allow empty commits when `uses_rpmautospec`
Merged a year ago by onosek. Opened a year ago by nikromen.
nikromen/rpkg commit  into  master

file modified
+3 -1
@@ -1867,7 +1867,9 @@ 

  

          # construct the git command

          # We do this via subprocess because the git module is terrible.

-         cmd = ['git', 'commit', '--allow-empty']

+         cmd = ['git', 'commit']

+         if not self.is_retired() and self.uses_rpmautospec:

+             cmd.append('--allow-empty')

          if signoff:

              cmd.append('-s')

          if self.quiet:

Commit d2c63c3 fixes this pull-request

Pull-Request has been merged by onosek

a year ago

Thanks for creating the PR. I just updated the commit message before merging.

Metadata