App-karr

 view release on metacpan or  search on metacpan

t/29-worktree.t  view on Meta::CPAN

# ABSTRACT: karr must work inside git worktrees, not only in the main work-tree
#
# A git worktree shares the object database and refs with the main repo but
# lives in a different directory and uses a `.git` *file* (not directory)
# pointing at `.git/worktrees/<name>` inside the main repo. karr stores its
# state in `refs/karr/*` which are shared refs, so all operations should work
# transparently from inside a worktree.
use strict;
use warnings;
use Test::More;
use lib 't/lib';
use TestGit qw( require_git_c );
require_git_c();
use File::Temp qw( tempdir );
use Cwd qw( abs_path getcwd );
use IPC::Open3 qw( open3 );
use Symbol qw( gensym );



( run in 3.010 seconds using v1.01-cache-2.11-cpan-7fcb06a456a )