[issue30232] configure: support Git worktree
STINNER Victor
report at bugs.python.org
Wed May 3 06:07:33 EDT 2017
STINNER Victor added the comment:
I applied the enhanced (called bugfix by Brett ;-)) to 2.7, 3.5, 3.6 and master (3.7). I close the issue.
Example:
haypo at selma$ cat .git
gitdir: /home/haypo/prog/python/master/.git/worktrees/2.7
haypo at selma$ ./python
Python 2.7.13+ (heads/test_ssl_27:dda4d78, May 3 2017, 03:25:45)
[GCC 6.3.1 20161221 (Red Hat 6.3.1-1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys._git
('CPython', 'heads/test_ssl_27', 'dda4d78')
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30232>
_______________________________________
More information about the Python-bugs-list
mailing list