change to headless to support tags and dont break all tests Pull Request #137 Issue #134

This commit is contained in:
Peter Cottle 2013-10-27 12:48:48 -07:00
parent ebfd5e84d2
commit aa39e1af3c
3 changed files with 16 additions and 0 deletions

11
spec/simpleRemote.spec.js Normal file
View file

@ -0,0 +1,11 @@
var base = require('./base');
var expectTreeAsync = base.expectTreeAsync;
describe('Git Remote simple', function() {
it('clones', function() {
expectTreeAsync(
'git clone',
'{"branches":{"master":{"target":"C1","id":"master","remoteTrackingBranchID":"o/master"},"o/master":{"target":"C1","id":"o/master","remoteTrackingBranchID":null}},"commits":{"C0":{"parents":[],"id":"C0","rootCommit":true},"C1":{"parents":["C0"],"id":"C1"}},"HEAD":{"target":"master","id":"HEAD"},"originTree":{"branches":{"master":{"target":"C1","id":"master","remoteTrackingBranchID":null}},"commits":{"C0":{"parents":[],"id":"C0","rootCommit":true},"C1":{"parents":["C0"],"id":"C1"}},"HEAD":{"target":"master","id":"HEAD"}}}'
);
});
});