aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/mgagit
diff options
context:
space:
mode:
authorDan Fandrich <danf@mageia.org>2024-01-12 15:21:14 -0800
committerDan Fandrich <danf@mageia.org>2024-01-12 15:22:36 -0800
commit62390e3fe170c6cfebb88bcd3566370e4c859ceb (patch)
tree2a838208eb48b1b83a7f52c3f2944ea9e76b0601 /deployment/mgagit
parent9feda218673655c8e306980785228242418b1f59 (diff)
downloadpuppet-62390e3fe170c6cfebb88bcd3566370e4c859ceb.tar
puppet-62390e3fe170c6cfebb88bcd3566370e4c859ceb.tar.gz
puppet-62390e3fe170c6cfebb88bcd3566370e4c859ceb.tar.bz2
puppet-62390e3fe170c6cfebb88bcd3566370e4c859ceb.tar.xz
puppet-62390e3fe170c6cfebb88bcd3566370e4c859ceb.zip
Further adapt git-post-receive-hook
Diffstat (limited to 'deployment/mgagit')
-rwxr-xr-xdeployment/mgagit/templates/git-post-receive-hook3
1 files changed, 1 insertions, 2 deletions
diff --git a/deployment/mgagit/templates/git-post-receive-hook b/deployment/mgagit/templates/git-post-receive-hook
index 32ab9b42..b09dd335 100755
--- a/deployment/mgagit/templates/git-post-receive-hook
+++ b/deployment/mgagit/templates/git-post-receive-hook
@@ -217,8 +217,7 @@ class MageiaI18NRevision(git_multimail.Revision):
self.output = []
# -s is short for --no-patch, but -s works on older git's (e.g. 1.7)
- self.parents = read_git_lines(['show', '-s', '--format=%P',
- self.rev.sha1])[0].split()
+ self.parents = git_multimail.read_git_lines(['show', '-s', '--format=%P', self.rev.sha1])[0].split()
self.cc_recipients = ''