This is an automated email from the git hooks/post-receive script. abe pushed a commit to annotated tag 0.2.1-source in repository libdist-zilla-role-bootstrap-perl.
commit ec50d72e09d062aab9cbc03fbb435741ab8115bf Author: Kent Fredric <kentfred...@gmail.com> Date: Tue Sep 10 13:28:37 2013 +1200 really use --pull again, cleanup code --- sync_tree.pl | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/sync_tree.pl b/sync_tree.pl index 28b91dd..e9b2476 100644 --- a/sync_tree.pl +++ b/sync_tree.pl @@ -8,17 +8,17 @@ my $root = find_dev('./'); chdir "$root"; -if ( not -d -e $root->child("maint") ) { - system( - 'git', 'subtree', 'add', - '--prefix=maint', - 'https://github.com/kentfredric/travis-scripts.git', 'master' - ); -} else { - system( - 'git', 'subtree', 'merge', - '--prefix=maint', 'master' -# 'https://github.com/kentfredric/travis-scripts.git', 'master' - ); +sub git_subtree { + system('git','subtree', @_ ) == 0 or die "Git subtree had nonzero exit"; +} + +my $travis = 'https://github.com/kentfredric/travis-scripts.git'; +my $prefix = 'maint'; + +if ( not -d -e $root->child($prefix) ) { + git_subtree('add','--prefix=' . $prefix , $travis, 'master' ); +} +else { + git_subtree('pull','--prefix=' . $prefix , $travis, 'master' ); } -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdist-zilla-role-bootstrap-perl.git _______________________________________________ Pkg-perl-cvs-commits mailing list Pkg-perl-cvs-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits