Girocco::Project: copy refs directory, instead of creating packed-refs file
commit27ae2fd3e63653190f0147a3e98b58365eb704c3
authorDaniel Knittl-Frank <knittl89+git@googlemail.com>
Sat, 8 Jan 2011 21:03:37 +0000 (8 22:03 +0100)
committerDaniel Knittl-Frank <knittl89+git@googlemail.com>
Sun, 9 Jan 2011 17:44:48 +0000 (9 18:44 +0100)
treecfcdb95bf86a8c6c563739e19a479f893069d0dc
parent1198aa56702c4480f6d063cc26dd8b68aaea77a0
Girocco::Project: copy refs directory, instead of creating packed-refs file

when changing packed-refs through push, a new version is first written
to a temporary file, which will then be copied over the old one.
repository owners are not able to create or delete files in the root of
their bare repositories.

the ownership information of /refs is automatically updated, so copy
/refs from the forkee, instead of writing all refs into the packed-refs
file.
Girocco/Project.pm