diff options
author | 2009-10-30 21:25:06 +0530 | |
---|---|---|
committer | 2009-10-31 00:21:37 +0530 | |
commit | 92d5062ad0ef5a1431ef3cdb3d78340f4269c77c (patch) | |
tree | 00b2d0c96b92aaa6c6bb00bd80b6f5f786c505ef /src/gl-compile-conf | |
parent | Merge branch 'gh-issue-2' into pu (diff) | |
download | gitolite-gentoo-0.80.tar.gz gitolite-gentoo-0.80.tar.bz2 gitolite-gentoo-0.80.zip |
doc/src: major doc/help text revampv0.80
also removed some dead code from compile (pre PTA days)
Diffstat (limited to 'src/gl-compile-conf')
-rwxr-xr-x | src/gl-compile-conf | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/gl-compile-conf b/src/gl-compile-conf index 665d1d0..629bded 100755 --- a/src/gl-compile-conf +++ b/src/gl-compile-conf @@ -434,20 +434,3 @@ close $newkeys_fh or die "$ATTN close newkeys failed: $!\n"; system("cat $ENV{HOME}/.ssh/authorized_keys > $ENV{HOME}/.ssh/old_authkeys"); system("cat $ENV{HOME}/.ssh/new_authkeys > $ENV{HOME}/.ssh/authorized_keys"); system("rm $ENV{HOME}/.ssh/new_authkeys"); - -# if the gl admin directory (~/.gitolite) is itself a git repo, do an -# autocheckin. nothing fancy; this is a "just in case" type of thing. -wrap_chdir($GL_ADMINDIR); -if (-d ".git") -{ - system("git add -A conf keydir"); # stage all operational data - # and if there are any - if (system("git diff --cached --quiet") ) - { - open my $commit_ph, "|-", "git commit -F -" - or die "$ATTN open commit failed: $!\n"; - print $commit_ph "keydir changed\n\n"; - print $commit_ph `git diff --cached --name-status`; - close $commit_ph or die "$ATTN close commit failed: $!\n"; - } -} |