Re: [BUG?] Path limiting in "git log" when run from another subdir
- From
Johan Herland <johan@herland.net>
- Date
- Sep 24, 2012, 14:11 UTC
- Message-ID
- <CALKQrgdhFCUs+gqT=PrT3w7suGzvnj7Wo8GfipHHQm6b=TZF+A@mail.gmail.com>
- In-Reply-To
- <CACsJy8AXonkSXNU_uUXh=d2wojOhAn+S1JW7eUMywxohnAOXjg@mail.gmail.com>
On Mon, Sep 24, 2012 at 3:39 PM, Nguyen Thai Ngoc Duy <pclouds@gmail.com> wrote:
> On Mon, Sep 24, 2012 at 8:30 PM, Nguyen Thai Ngoc Duy <pclouds@gmail.com> wrote: >> Any special in gitdir/worktree setting? > > What does "GIT_TRACE_SETUP=1 git log -- /Documentation" show?
FWIW, this issue is resolved as far as I'm concerned. I was simply using the wrong syntax...
Anyway, with current master:
$ GIT_TRACE_SETUP=1 ../git log -1 -- /Documentation setup: git_dir: .git setup: worktree: /home/jherland/git/git setup: cwd: /home/jherland/git/git setup: prefix: t/ fatal: '/Documentation' is outside repository
With v1.7.11:
$ GIT_TRACE_SETUP=1 ../git log -1 -- /Documentation setup: git_dir: .git setup: worktree: /home/jherland/git/git setup: cwd: /home/jherland/git/git setup: prefix: t/ commit 0ce2e396ee9fb0fa07e8381b338e49859dbf03db Author: Junio C Hamano <gitster@pobox.com> Date: Sun Jun 17 14:07:15 2012 -0700
Git 1.7.11
Signed-off-by: Junio C Hamano <gitster@pobox.com>
...Johan
-- Johan Herland, <johan@herland.net> www.herland.net