Project.pm: when creating a push fork be sure to copy all refs
commit59d685f33c88f99ba6caf44b059fb18bb8bb8d2b
authorKyle J. McKay <mackyle@gmail.com>
Mon, 17 Nov 2014 22:45:50 +0000 (17 14:45 -0800)
committerKyle J. McKay <mackyle@gmail.com>
Mon, 17 Nov 2014 22:45:50 +0000 (17 14:45 -0800)
tree459321824f2f088f973efcebed0b1030bcb38dcd
parent85e92c7d5974d6a590607510f1262104bef7ea79
Project.pm: when creating a push fork be sure to copy all refs

Using cp -pR to copy the refs directory from the forkee to the
new fork is problematic when any refs have been packed.

Instead use show-ref to get all the refs and put them in a new
packed-refs file in the fork being careful that it has the correct
write permissions.
Girocco/Project.pm