mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-04 20:29:08 -04:00
feat(checkout)!: add ability to checkout commit (#35)
This commit is contained in:
parent
6fe24dcb65
commit
f7dde69de3
7 changed files with 115 additions and 38 deletions
|
@ -128,7 +128,7 @@ void main() {
|
|||
});
|
||||
|
||||
test('filters content of a blob with provided commit for attributes', () {
|
||||
repo.checkout(refName: 'refs/tags/v0.2');
|
||||
repo.checkout(target: 'refs/tags/v0.2');
|
||||
|
||||
final blobOid = repo.createBlob('clrf\nclrf\n');
|
||||
final blob = repo.lookupBlob(blobOid);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue