Junio C Hamano gits...@pobox.com writes:
Junio C Hamano gits...@pobox.com writes:
I think both of you are wrong ;-)
The thing is, what you are seeing does not have much to do with
GIT_DIR. It is what Git does when it finds a directory inside the
working tree of a project. And .git is the
On Sat, May 23, 2015 at 12:39 PM, Mike Hommey m...@glandium.org wrote:
On Sat, May 23, 2015 at 09:22:56AM +0700, Duy Nguyen wrote:
--- a/Documentation/git.txt
+++ b/Documentation/git.txt
@@ -691,6 +691,9 @@ Git so take care if using Cogito etc.
specifies a path to use instead of the
On Sat, May 23, 2015 at 11:41 AM, Thorsten von Eicken
t...@rightscale.com wrote:
On 5/22/2015 7:22 PM, Duy Nguyen wrote:
On Fri, May 22, 2015 at 07:03:48PM -0700, Junio C Hamano wrote:
As far as I know, GIT_DIR was prepared as a mechanism to point at
another .git directory that does not live
Mike Hommey m...@glandium.org writes:
On Sat, May 23, 2015 at 09:22:56AM +0700, Duy Nguyen wrote:
On Fri, May 22, 2015 at 07:03:48PM -0700, Junio C Hamano wrote:
As far as I know, GIT_DIR was prepared as a mechanism to point at
another .git directory that does not live inside the working
Junio C Hamano gits...@pobox.com writes:
I think both of you are wrong ;-)
The thing is, what you are seeing does not have much to do with
GIT_DIR. It is what Git does when it finds a directory inside the
working tree of a project. And .git is the only special thing in
that context.
In
As far as I know, GIT_DIR was prepared as a mechanism to point at
another .git directory that does not live inside the working tree, not
as a mechanism to rename it to arbitrary name. E.g.
$ git init
$ mv .git .svn
$ GIT_DIR=$(pwd)/.svn ; export GIT_DIR
is not expected to work.
On Fri, May
On Fri, May 22, 2015 at 07:03:48PM -0700, Junio C Hamano wrote:
As far as I know, GIT_DIR was prepared as a mechanism to point at
another .git directory that does not live inside the working tree, not
as a mechanism to rename it to arbitrary name. E.g.
$ git init
$ mv .git .svn
$
On 5/22/2015 7:22 PM, Duy Nguyen wrote:
On Fri, May 22, 2015 at 07:03:48PM -0700, Junio C Hamano wrote:
As far as I know, GIT_DIR was prepared as a mechanism to point at
another .git directory that does not live inside the working tree, not
as a mechanism to rename it to arbitrary name. E.g.
I renamed my .git directory to _git and I'm surprised that git status
thinks that it's an untracked file:
$ GIT_DIR=_git git status
On branch master
Your branch is up-to-date with 'origin/master'.
Untracked files:
(use git add file... to include in what will be committed)
_git/
On Sat, May 23, 2015 at 09:22:56AM +0700, Duy Nguyen wrote:
On Fri, May 22, 2015 at 07:03:48PM -0700, Junio C Hamano wrote:
As far as I know, GIT_DIR was prepared as a mechanism to point at
another .git directory that does not live inside the working tree, not
as a mechanism to rename it to
10 matches
Mail list logo