bpo-30232: Support Git worktree in configure.ac (#1391) · python/cpython@5facdbb (original) (raw)
Navigation Menu
- GitHub Copilot Write better code with AI
- GitHub Models New Manage and compare prompts
- GitHub Advanced Security Find and fix vulnerabilities
- Actions Automate any workflow
- Codespaces Instant dev environments
- Issues Plan and track work
- Code Review Manage code changes
- Discussions Collaborate outside of code
- Code Search Find more, search less
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Commit 5facdbb
Don't test if .git/HEAD file exists, but only if the .git file (or directory) exists.
File tree
1 file changed
lines changed
1 file changed
lines changed
Lines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -29,7 +29,7 @@ AC_SUBST(GITVERSION) | ||
29 | 29 | AC_SUBST(GITTAG) |
30 | 30 | AC_SUBST(GITBRANCH) |
31 | 31 | |
32 | -if test -e $srcdir/.git/HEAD | |
32 | +if test -e $srcdir/.git | |
33 | 33 | then |
34 | 34 | AC_CHECK_PROG(HAS_GIT, git, found, not-found) |
35 | 35 | else |