Skip to contentSkip to conversation

git-repack: create new packs inside $PACKDIR, not cwd

PATCH Martin Langhoff (CatalystIT) 1 participant 1 message Jun 15, 2016 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive
Quoted 2 lines · Martin Langhoff

Avoid failing when cwd is !writable by writing the packfiles directly in the $PACKDIR.

Urgh. At the very top of the script there's

rm -f .tmp-pack-*
PACKDIR="$GIT_OBJECT_DIRECTORY/pack"

which relies on cwd again. Hmm.

m

Signature · 9 lines
-----------------------------------------------------------------------
Martin @ Catalyst .Net .NZ  Ltd, PO Box 11-053, Manners St,  Wellington
WEB: http://catalyst.net.nz/           PHYS: Level 2, 150-154 Willis St
OFFICE: +64(4)916-7224                              MOB: +64(21)364-017
      Make things as simple as possible, but no simpler - Einstein
-----------------------------------------------------------------------

-- 
VGER BF report: U 0.804452