[New-bugs-announce] [issue30232] configure: support Git worktree

STINNER Victor report at bugs.python.org
Tue May 2 11:04:23 EDT 2017

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 at 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 <report at bugs.python.org>

More information about the New-bugs-announce mailing list