Author vstinner
Recipients brett.cannon, ncoghlan, vstinner
Date 2017-05-02.15:04:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Content tests if .git/HEAD file exists to decide if it should get the git version / tag / branch.

I use git worktree to get 2.7, 3.5, 3.6 and master in their own directory. When using git worktree, ".git" is a text file with a content like:

haypo@selma$ cat ~/prog/python/2.7/.git
gitdir: /home/haypo/prog/python/master/.git/worktrees/2.7

Git supports such file, but doesn't to Git in that case.

Attached PR fixes to support Git worktree.
Date User Action Args
2017-05-02 15:04:23vstinnersetrecipients: + vstinner, brett.cannon, ncoghlan
2017-05-02 15:04:23vstinnersetmessageid: <>
2017-05-02 15:04:23vstinnerlinkissue30232 messages
2017-05-02 15:04:23vstinnercreate