Am 01.12.2013 20:04, schrieb Dennis Kaarsemaker:
We always ignore anything named .git, but we should also ignore the git
directory if the user overrides it by setting $GIT_DIR
Reported-By: Ingy döt Net i...@ingy.net
Signed-off-by: Dennis Kaarsemaker den...@kaarsemaker.net
---
dir.c
Karsten Blees karsten.bl...@gmail.com writes:
So I figure that GIT_DIR is not meant to _rename_ the .git dir,
but to point somewhere _outside_ the worktree (or somewhere within
the .git dir).
Correct.
If we don't want to support this, though, I think it would be more
approrpiate to issue a
Am 03.12.2013 19:32, schrieb Junio C Hamano:
Karsten Blees karsten.bl...@gmail.com writes:
So I figure that GIT_DIR is not meant to _rename_ the .git dir,
but to point somewhere _outside_ the worktree (or somewhere within
the .git dir).
Correct.
If we don't want to support this,
Junio C Hamano wrote:
Karsten Blees karsten.bl...@gmail.com writes:
If we don't want to support this, though, I think it would be more
approrpiate to issue a warning if GIT_DIR points to a worktree
location.
But how do tell what is and isn't a worktree location? Having the
path in the
On ma, 2013-12-02 at 07:38 +0700, Duy Nguyen wrote:
On Mon, Dec 2, 2013 at 6:38 AM, Dennis Kaarsemaker
den...@kaarsemaker.net wrote:
On ma, 2013-12-02 at 00:08 +0100, Thomas Rast wrote:
Duy Nguyen pclo...@gmail.com writes:
On Mon, Dec 2, 2013 at 2:04 AM, Dennis Kaarsemaker
On Mon, Dec 2, 2013 at 3:01 PM, Dennis Kaarsemaker
den...@kaarsemaker.net wrote:
On ma, 2013-12-02 at 07:38 +0700, Duy Nguyen wrote:
On Mon, Dec 2, 2013 at 6:38 AM, Dennis Kaarsemaker
den...@kaarsemaker.net wrote:
On ma, 2013-12-02 at 00:08 +0100, Thomas Rast wrote:
Duy Nguyen
On ma, 2013-12-02 at 16:35 +0700, Duy Nguyen wrote:
On Mon, Dec 2, 2013 at 3:01 PM, Dennis Kaarsemaker
den...@kaarsemaker.net wrote:
On ma, 2013-12-02 at 07:38 +0700, Duy Nguyen wrote:
On Mon, Dec 2, 2013 at 6:38 AM, Dennis Kaarsemaker
den...@kaarsemaker.net wrote:
On ma, 2013-12-02 at
On Mon, Dec 2, 2013 at 6:40 PM, Dennis Kaarsemaker
den...@kaarsemaker.net wrote:
~/w/git $ cd t
~/w/git/t $ GIT_TRACE_SETUP=1 ../git --git-dir=../.git --work-tree=..
--no-pager status
setup: git_dir: /home/pclouds/w/git/.git
setup: worktree: /home/pclouds/w/git
setup: cwd:
We always ignore anything named .git, but we should also ignore the git
directory if the user overrides it by setting $GIT_DIR
Reported-By: Ingy döt Net i...@ingy.net
Signed-off-by: Dennis Kaarsemaker den...@kaarsemaker.net
---
dir.c | 2 +-
t/t7508-status.sh | 7 +++
2 files
On Mon, Dec 2, 2013 at 2:04 AM, Dennis Kaarsemaker
den...@kaarsemaker.net wrote:
We always ignore anything named .git, but we should also ignore the git
directory if the user overrides it by setting $GIT_DIR
Reported-By: Ingy döt Net i...@ingy.net
Signed-off-by: Dennis Kaarsemaker
Duy Nguyen pclo...@gmail.com writes:
On Mon, Dec 2, 2013 at 2:04 AM, Dennis Kaarsemaker
den...@kaarsemaker.net wrote:
We always ignore anything named .git, but we should also ignore the git
directory if the user overrides it by setting $GIT_DIR
[...]
+ if (simplify_away(path-buf,
On ma, 2013-12-02 at 00:08 +0100, Thomas Rast wrote:
Duy Nguyen pclo...@gmail.com writes:
On Mon, Dec 2, 2013 at 2:04 AM, Dennis Kaarsemaker
den...@kaarsemaker.net wrote:
We always ignore anything named .git, but we should also ignore the git
directory if the user overrides it by
On Sun, Dec 1, 2013 at 2:04 PM, Dennis Kaarsemaker
den...@kaarsemaker.net wrote:
diff --git a/t/t7508-status.sh b/t/t7508-status.sh
index c987b5e..2bd7ef1 100755
--- a/t/t7508-status.sh
+++ b/t/t7508-status.sh
@@ -198,6 +198,13 @@ test_expect_success 'status -s' '
'
+test_expect_success
13 matches
Mail list logo