This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients brett.cannon, ncoghlan, vstinner
Date 2017-05-02.15:04:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1493737463.82.0.0521929731539.issue30232@psf.upfronthosting.co.za>
In-reply-to
Content
configure.ac 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 configure.ac doesn't to Git in that case.

Attached PR fixes configure.ac to support Git worktree.
History
Date User Action Args
2017-05-02 15:04:23vstinnersetrecipients: + vstinner, brett.cannon, ncoghlan
2017-05-02 15:04:23vstinnersetmessageid: <1493737463.82.0.0521929731539.issue30232@psf.upfronthosting.co.za>
2017-05-02 15:04:23vstinnerlinkissue30232 messages
2017-05-02 15:04:23vstinnercreate