Re: [PATCH] Add support for GIT_ONE_FILESYSTEM
- From
Sverre Rabbelier <srabbelier@gmail.com>
- Date
- Mar 15, 2010, 23:16 UTC
- Message-ID
- <fabb9a1e1003151616m4c0e9100g77170433f6a67912@mail.gmail.com>
- In-Reply-To
- <20100315214003.GB11157@pixar.com>
Heya,
On Mon, Mar 15, 2010 at 22:40, Lars Damerow <lars@pixar.com> wrote:
> + if (buf.st_dev != current_device)
> + die("refusing to cross filesystem boundary '%s/..'", cwd);Great, that's going to tell the unfortunate user who runs into this a whole lot of nothing. Shouldn't you at least tell them what git was trying to do, how they can fix it if this is not the desired behavior, etc. etc.?
-- Cheers, Sverre Rabbelier