build: allow setting a custom GIT binary for transparent proxying
commitcc84d63a42e31c2afa884fc78610a65ab8ecc06a
authorDaniel P. Berrange <berrange@redhat.com>
Fri, 20 Oct 2017 14:02:43 +0000 (20 15:02 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Mon, 6 Nov 2017 11:03:45 +0000 (6 11:03 +0000)
treea3227666385f67cc52edf21670cb05437216b1ad
parentec7a8bf0b8f7dc7288fe8745464ee8217528cc6c
build: allow setting a custom GIT binary for transparent proxying

Some users can't run a bare 'git' command, due to need for a transparent
proxying solution such as 'tsocks'. This adds an argument to configure to
let users specify such a thing:

  ./configure --with-git="tsocks git"

The submodule script is also updated to give the user a hint about using this
flag, if we fail to checkout modules.

Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Makefile
configure
scripts/git-submodule.sh