mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-04 20:29:08 -04:00
refactor(revparse)!: add ability to get different git objects based on spec (#46)
This commit is contained in:
parent
e83d6ab29a
commit
d0f7746a01
3 changed files with 48 additions and 19 deletions
|
@ -55,7 +55,7 @@ void main() {
|
|||
});
|
||||
|
||||
test('creates worktree at provided path from provided reference', () {
|
||||
final head = RevParse.single(repo: repo, spec: 'HEAD');
|
||||
final head = RevParse.single(repo: repo, spec: 'HEAD') as Commit;
|
||||
final worktreeBranch = Branch.create(
|
||||
repo: repo,
|
||||
name: 'v1',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue