[vhffs-dev] [2199] backported #2198 to VHFFS 4.4 |
[ Thread Index |
Date Index
| More vhffs.org/vhffs-dev Archives
]
Revision: 2199
Author: gradator
Date: 2012-07-02 10:09:23 +0200 (Mon, 02 Jul 2012)
Log Message:
-----------
backported #2198 to VHFFS 4.4
Modified Paths:
--------------
branches/vhffs-4.4/vhffs-api/src/Vhffs/Robots/Git.pm
branches/vhffs-4.4/vhffs-robots/misc/git_post-receive
Modified: branches/vhffs-4.4/vhffs-api/src/Vhffs/Robots/Git.pm
===================================================================
--- branches/vhffs-4.4/vhffs-api/src/Vhffs/Robots/Git.pm 2012-07-02 07:56:43 UTC (rev 2198)
+++ branches/vhffs-4.4/vhffs-api/src/Vhffs/Robots/Git.pm 2012-07-02 08:09:23 UTC (rev 2199)
@@ -192,6 +192,7 @@
}
}
}
+ chmod 0755, $dir.'/hooks/post-receive';
Vhffs::Robots::vhffs_log( $vhffs, 'Git repository '.$git->get_reponame.' commit mail set to '.$git->{ml_name} );
$git->add_history( 'Commit mail set to '.$git->{ml_name} );
Modified: branches/vhffs-4.4/vhffs-robots/misc/git_post-receive
===================================================================
--- branches/vhffs-4.4/vhffs-robots/misc/git_post-receive 2012-07-02 07:56:43 UTC (rev 2198)
+++ branches/vhffs-4.4/vhffs-robots/misc/git_post-receive 2012-07-02 08:09:23 UTC (rev 2199)
@@ -600,9 +600,9 @@
projectdesc="UNNAMED PROJECT"
fi
-recipients=$(git repo-config hooks.mailinglist)
-announcerecipients=$(git repo-config hooks.announcelist)
-envelopesender=$(git-repo-config hooks.envelopesender)
+recipients=$(git config hooks.mailinglist)
+announcerecipients=$(git config hooks.announcelist)
+envelopesender=$(git config hooks.envelopesender)
# --- Main loop
# Allow dual mode: run from the command line just like the update hook, or if