# Re: [PATCH] git-repack: create new packs inside $PACKDIR, not cwd

1 messages from 2006-09-04 to 2006-09-04. Participants: Martin Langhoff (CatalystIT).
Thread: https://gitlist.dev/t/5466

## Martin Langhoff (CatalystIT), 2006-09-04 02:42

Subject: Re: [PATCH] git-repack: create new packs inside $PACKDIR, not cwd
Message-ID: <44FB92A6.7020406@catalyst.net.nz>
URL: https://gitlist.dev/e/44FB92A6.7020406%40catalyst.net.nz
In-Reply-To: <1157337502104-git-send-email-martin@catalyst.net.nz>

```
Martin Langhoff wrote:

> 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
-- 
-----------------------------------------------------------------------
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

```
