buildtools: fix --git-local-changes option
commitbeb01815f041d678024c60ac9ca53f8fcf759246
authorStefan Metzmacher <metze@samba.org>
Thu, 2 Dec 2010 00:58:10 +0000 (2 01:58 +0100)
committerStefan Metzmacher <metze@samba.org>
Thu, 2 Dec 2010 08:09:21 +0000 (2 09:09 +0100)
treea2993bd77c15b5a64a674d27ecd5383007bf6d5f
parent75508cea4a95ea63a1a4c192c82e827a712aa709
buildtools: fix --git-local-changes option

If we set the GIT_DIR envvar we also need to set GIT_WORK_TREE,
otherwise we can't expect valid output from 'git diff HEAD'.

metze

Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Dec  2 09:09:21 CET 2010 on sn-devel-104
buildtools/wafsamba/samba_version.py