New submission from STINNER Victor: 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. ---------- components: Build messages: 292774 nosy: brett.cannon, haypo, ncoghlan priority: normal severity: normal status: open title: configure: support Git worktree versions: Python 3.7 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue30232> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com