# worktree: incorrect handling of directory argument

1 messages from 2008-05-09 to 2008-05-09. Participants: martin f krafft.
Thread: https://gitlist.dev/t/13458

## martin f krafft, 2008-05-09 23:12

Subject: worktree: incorrect handling of directory argument
Message-ID: <20080509231252.GA14822@lapse.madduck.net>
URL: https://gitlist.dev/e/20080509231252.GA14822%40lapse.madduck.net

```
Hi,

If I set core.worktree to ../.. instead of ../../, then a file foo
will be unpacked by checkout-index to be the literal ../..foo, not
../../foo. I suppose core.worktree should always be treated as
a directory.

-- 
martin | http://madduck.net/ | http://two.sentenc.es/
 
"everyone has a little secret he keeps,
 i like the fires when the city sleeps."
                                                  -- mc 900 ft jesus
 
spamtraps: madduck.bogus@madduck.net

```
