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.54.0 sub/eac_git/vendor/git-subrepo/test/pull-worktree.t
eac_tools-0.53.0 sub/eac_git/vendor/git-subrepo/test/pull-worktree.t
eac_tools-0.52.0 sub/eac_git/vendor/git-subrepo/test/pull-worktree.t
eac_tools-0.51.0 sub/eac_git/vendor/git-subrepo/test/pull-worktree.t
eac_tools-0.50.0 sub/eac_git/vendor/git-subrepo/test/pull-worktree.t
eac_tools-0.49.0 sub/eac_git/vendor/git-subrepo/test/pull-worktree.t
eac_tools-0.48.1 sub/eac_git/vendor/git-subrepo/test/pull-worktree.t
eac_tools-0.48.0 sub/eac_git/vendor/git-subrepo/test/pull-worktree.t
eac_tools-0.47.2 sub/eac_git/vendor/git-subrepo/test/pull-worktree.t
eac_tools-0.47.1 sub/eac_git/vendor/git-subrepo/test/pull-worktree.t
eac_tools-0.47.0 sub/eac_git/vendor/git-subrepo/test/pull-worktree.t
eac_tools-0.46.0 sub/eac_git/vendor/git-subrepo/test/pull-worktree.t
eac_tools-0.45.2 sub/eac_git/vendor/git-subrepo/test/pull-worktree.t
eac_tools-0.45.1 sub/eac_git/vendor/git-subrepo/test/pull-worktree.t
eac_git-0.14.0 vendor/git-subrepo/test/pull-worktree.t
eac_tools-0.45.0 sub/eac_git/vendor/git-subrepo/test/pull-worktree.t
eac_tools-0.44.0 sub/eac_git/vendor/git-subrepo/test/pull-worktree.t
eac_tools-0.43.0 sub/eac_git/vendor/git-subrepo/test/pull-worktree.t
eac_tools-0.42.0 sub/eac_git/vendor/git-subrepo/test/pull-worktree.t
eac_tools-0.41.0 sub/eac_git/vendor/git-subrepo/test/pull-worktree.t