Sha256: a275c2073c66c0ff784de222f26c90757fc10d59612f573c6f50373fa271b323

Contents?: true

Size: 483 Bytes

Versions: 249

Compression:

Stored size: 483 Bytes

Contents

#!/usr/bin/env bash

set -e

source test/setup

use Test::More

clone-foo-and-bar

(
  cd $OWNER/foo
  git subrepo clone ../bar bar
  git worktree add -b test ../wt
) &> /dev/null || die

(
  cd $OWNER/bar
  modify-files Bar
) &> /dev/null || die

(
  cd $OWNER/wt
  git subrepo pull --all
) &> /dev/null || die

(
  cd $OWNER/foo
  git merge test
) &> /dev/null || die

{
  is "$(cat $OWNER/foo/bar/Bar)" \
    "a new line" \
    'bar/Bar content correct'
}

done_testing

teardown

Version data entries

249 entries across 249 versions & 3 rubygems

Version Path
avm-tools-0.58.1 vendor/eac_git/vendor/git-subrepo/test/pull-worktree.t
avm-tools-0.58.0 vendor/eac_git/vendor/git-subrepo/test/pull-worktree.t
avm-tools-0.57.0 vendor/eac_git/vendor/git-subrepo/test/pull-worktree.t
avm-tools-0.56.0 vendor/eac_git/vendor/git-subrepo/test/pull-worktree.t
avm-tools-0.55.0 vendor/gems/eac_git/vendor/git-subrepo/test/pull-worktree.t
avm-tools-0.54.2 vendor/gems/eac_git/vendor/git-subrepo/test/pull-worktree.t
avm-tools-0.54.1 vendor/gems/eac_git/vendor/git-subrepo/test/pull-worktree.t
avm-tools-0.54.0 vendor/gems/eac_git/vendor/git-subrepo/test/pull-worktree.t
eac_git-0.2.0 vendor/git-subrepo/test/pull-worktree.t