Re: git describe oddity with GIT_DIR

2014-10-16 Thread Thomas Braun
Am 16.10.2014 um 18:57 schrieb Junio C Hamano: > Thomas Braun writes: > >> I've encountered an oddity with git describe. >> Consider the following snippet: >> - >> mkdir test >> cd test >> git init >> echo 1 > file >> git add file >> git commit -m "changes" >> $ git describe --always --dirty

Re: git describe oddity with GIT_DIR

2014-10-16 Thread Junio C Hamano
Thomas Braun writes: > I've encountered an oddity with git describe. > Consider the following snippet: > - > mkdir test > cd test > git init > echo 1 > file > git add file > git commit -m "changes" > $ git describe --always --dirty > 8ad486e > $ cd .. > $ git --git-dir=test/.git describe --al

git describe oddity with GIT_DIR

2014-10-16 Thread Thomas Braun
Hi, I've encountered an oddity with git describe. Consider the following snippet: - mkdir test cd test git init echo 1 > file git add file git commit -m "changes" $ git describe --always --dirty 8ad486e $ cd .. $ git --git-dir=test/.git describe --always --dirty 8ad486e-dirty $ GIT_DIR=test/.g