# Checks that by default, uncommitted changes in working copy are
# not transfered into built tree if the source repository is a
# git checkout rather than a bare repository.
prepare: >
  git init foosrc &&
  cd foosrc &&
  touch a &&
  printf "#!/bin/sh\ntouch b\nrm a" >foobuild &&
  git add . &&
  git commit -m 'Initial commit' &&
  touch a-unstaged a-staged &&
  git add a-staged &&
  cd .. &&
  git init foodeploy.git --bare &&
  git clone foodeploy.git foodeploy &&
  cd foodeploy &&
  git commit -m 'Initial commit' --allow-empty &&
  git push origin master
config:
  src_repo: foosrc
  deploy_repo: foodeploy.git
  work_prefix: work
  build_cmd: sh foobuild
deploy_tree:
  master:
    - b
    - foobuild

Check that by default changes in working copy in src repo are ignored
Check that by default changes in working copy in src repo are ignored
