diff options
author | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2011-05-22 17:10:58 -0700 |
---|---|---|
committer | Joe Rayhawk <jrayhawk@omgwallhack.org> | 2011-05-22 17:10:58 -0700 |
commit | 5d969bd6c6b4a71fbb32ec755c4a5d88a9c7225c (patch) | |
tree | d3612fe64c15d66c9d51d123e23fc13c1924da4c /libpiny | |
parent | 73ee878620d6ece44b99fb8aee6dc1b49a82021e (diff) | |
download | piny-code-5d969bd6c6b4a71fbb32ec755c4a5d88a9c7225c.tar.gz piny-code-5d969bd6c6b4a71fbb32ec755c4a5d88a9c7225c.zip |
Disabling gc.packrefs
Diffstat (limited to 'libpiny')
-rw-r--r-- | libpiny/lib/Piny/Repo.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libpiny/lib/Piny/Repo.pm b/libpiny/lib/Piny/Repo.pm index 989ed96..4afcf4f 100644 --- a/libpiny/lib/Piny/Repo.pm +++ b/libpiny/lib/Piny/Repo.pm @@ -249,6 +249,8 @@ sub rebuild_git { $ENV{"GIT_DIR"} = $s->path; system( "/usr/bin/git", "config", "gitweb.owner", $s->owner->email->address ) and die "Could not git config gitweb.owner!"; + # packed-refs files aren't modifiable under our permission system and are poorly supported on old version of git anyway. + system( "/usr/bin/git", "config", "gc.packrefs", "0" ) and die "Could not git config gc.packrefs!"; delete $ENV{"GIT_DIR"}; $s->clear_config; |