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.86.5 sub/eac_git/vendor/git-subrepo/test/pull-worktree.t
eac_tools-0.86.4 sub/eac_git/vendor/git-subrepo/test/pull-worktree.t
eac_tools-0.86.3 sub/eac_git/vendor/git-subrepo/test/pull-worktree.t
eac_git-0.16.0 vendor/git-subrepo/test/pull-worktree.t
eac_tools-0.86.2 sub/eac_git/vendor/git-subrepo/test/pull-worktree.t
eac_git-0.15.0 vendor/git-subrepo/test/pull-worktree.t
eac_tools-0.84.2 sub/eac_git/vendor/git-subrepo/test/pull-worktree.t
eac_tools-0.84.1 sub/eac_git/vendor/git-subrepo/test/pull-worktree.t
eac_tools-0.84.0 sub/eac_git/vendor/git-subrepo/test/pull-worktree.t
eac_tools-0.83.0 sub/eac_git/vendor/git-subrepo/test/pull-worktree.t
eac_tools-0.82.0 sub/eac_git/vendor/git-subrepo/test/pull-worktree.t
eac_tools-0.81.0 sub/eac_git/vendor/git-subrepo/test/pull-worktree.t
eac_tools-0.80.0 sub/eac_git/vendor/git-subrepo/test/pull-worktree.t
eac_tools-0.79.0 sub/eac_git/vendor/git-subrepo/test/pull-worktree.t
eac_tools-0.78.0 sub/eac_git/vendor/git-subrepo/test/pull-worktree.t
eac_tools-0.77.1 sub/eac_git/vendor/git-subrepo/test/pull-worktree.t
eac_tools-0.77.0 sub/eac_git/vendor/git-subrepo/test/pull-worktree.t
eac_tools-0.76.1 sub/eac_git/vendor/git-subrepo/test/pull-worktree.t
eac_tools-0.76.0 sub/eac_git/vendor/git-subrepo/test/pull-worktree.t
eac_tools-0.75.2 sub/eac_git/vendor/git-subrepo/test/pull-worktree.t