* Git config from a Python script
@ 2010-09-07 12:45 Jerome Vuarand
0 siblings, 0 replies; only message in thread
From: Jerome Vuarand @ 2010-09-07 12:45 UTC (permalink / raw)
To: git
Hi,
I'm trying to write Git hooks in Python. I'd like to run some git
commands from the hook, so I'm using the Python subprocess module.
When running the "git config" command, I can only get access to local
configuration, while the exact same command from a command line give
me access to both local and global configuration. I already checked
that environment variables from a program run by python are the same
as when run from the command line. So I'm wondering what else could be
the source of that difference.
I'm on Windows XP, using Git 1.6.4.msysgit.0 and Python 2.6.2.
Regards,
Jérôme Vuarand.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-09-07 12:46 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-07 12:45 Git config from a Python script Jerome Vuarand
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).