From: Johan Herland Date: Mon, 24 Sep 2012 14:11:11 GMT Subject: Re: [BUG?] Path limiting in "git log" when run from another subdir Message-ID: In-Reply-To: On Mon, Sep 24, 2012 at 3:39 PM, Nguyen Thai Ngoc Duy wrote: > On Mon, Sep 24, 2012 at 8:30 PM, Nguyen Thai Ngoc Duy 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 Date: Sun Jun 17 14:07:15 2012 -0700 Git 1.7.11 Signed-off-by: Junio C Hamano ...Johan -- Johan Herland, www.herland.net