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
eac_tools-0.40.0 sub/eac_git/vendor/git-subrepo/test/pull-worktree.t
eac_tools-0.39.0 sub/eac_git/vendor/git-subrepo/test/pull-worktree.t
eac_tools-0.38.0 sub/eac_git/vendor/git-subrepo/test/pull-worktree.t
eac_tools-0.37.2 sub/eac_git/vendor/git-subrepo/test/pull-worktree.t
eac_git-0.13.0 vendor/git-subrepo/test/pull-worktree.t
eac_tools-0.37.1 sub/eac_git/vendor/git-subrepo/test/pull-worktree.t
eac_tools-0.37.0 sub/eac_git/vendor/git-subrepo/test/pull-worktree.t
eac_tools-0.36.1 sub/eac_git/vendor/git-subrepo/test/pull-worktree.t
eac_tools-0.36.0 sub/eac_git/vendor/git-subrepo/test/pull-worktree.t
eac_tools-0.35.0 sub/eac_git/vendor/git-subrepo/test/pull-worktree.t
eac_tools-0.34.0 sub/eac_git/vendor/git-subrepo/test/pull-worktree.t
eac_git-0.12.3 vendor/git-subrepo/test/pull-worktree.t
eac_tools-0.33.0 sub/eac_git/vendor/git-subrepo/test/pull-worktree.t
eac_tools-0.32.0 sub/eac_git/vendor/git-subrepo/test/pull-worktree.t
eac_tools-0.31.1 sub/eac_git/vendor/git-subrepo/test/pull-worktree.t
eac_git-0.12.2 vendor/git-subrepo/test/pull-worktree.t
avm-tools-0.129.0 sub/eac_git/vendor/git-subrepo/test/pull-worktree.t
eac_tools-0.16.0 sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/pull-worktree.t
avm-tools-0.128.0 sub/eac_git/vendor/git-subrepo/test/pull-worktree.t
eac_tools-0.15.0 sub/avm-tools/sub/eac_git/vendor/git-subrepo/test/pull-worktree.t