Skip to content
Snippets Groups Projects
  • Dan Villiom Podlaski Christiansen's avatar
    4408116eb73f
    tests: use an intermediate bare repository · 4408116eb73f
    Dan Villiom Podlaski Christiansen authored
    This removes the need to set configure `receive.denyCurrentBranch` in
    Git, which is in part bad form, and also explicitly covered
    `test-push-to-head.t`. Pushing to a checked out branch in a non-bare
    repository is confusing, and leads to weird results in Git.
    
    More than anything, this is just a slight simplification.
    4408116eb73f
    History
    tests: use an intermediate bare repository
    Dan Villiom Podlaski Christiansen authored
    This removes the need to set configure `receive.denyCurrentBranch` in
    Git, which is in part bad form, and also explicitly covered
    `test-push-to-head.t`. Pushing to a checked out branch in a non-bare
    repository is confusing, and leads to weird results in Git.
    
    More than anything, this is just a slight simplification.