[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Python-Dev] make patchcheck and git path


Michael Felt (aixtools) writes:

 > When building out of tree there is no .git reference. If I
 > understand the process it uses git to see what files have changed,
 > and does further processing on those.

Just guessing based on generic git knowledge here:

If you build in a sibling directory of the .git directory, git should
"see" the GITDIR, and it should work.  Where is your build directory
relative to the GITDIR?

I suspect you could also set GITDIR=/path/to/python/source/.git in
make's process environment, and do "make patchcheck" outside of the
Python source tree successfully.

Regards,